<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: help shell script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/help-shell-script/m-p/3979594#M95585</link>
    <description>Hi Jairo:&lt;BR /&gt;&lt;BR /&gt;# cat fileA&lt;BR /&gt;yahoo.com&lt;BR /&gt;hotmail.com&lt;BR /&gt;hp.com&lt;BR /&gt;&lt;BR /&gt;# cat fileB&lt;BR /&gt;jhon@yahoo.com&lt;BR /&gt;postmaster@hotmail.com&lt;BR /&gt;somebody@xyz.com&lt;BR /&gt;anotherbody@bigdot.com&lt;BR /&gt;&lt;BR /&gt;# grep -F -v -f fileA fileB&lt;BR /&gt;somebody@xyz.com&lt;BR /&gt;anotherbody@bigdot.com&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 11 Apr 2007 16:45:20 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2007-04-11T16:45:20Z</dc:date>
    <item>
      <title>help shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-shell-script/m-p/3979593#M95584</link>
      <description>hello i have a problem&lt;BR /&gt;in fileA I need to exclude domains from email that belong to another file&lt;BR /&gt;example fileA &lt;BR /&gt;cat fileA&lt;BR /&gt;yahoo.com&lt;BR /&gt;hotmail.com&lt;BR /&gt;hp.com&lt;BR /&gt;********************************&lt;BR /&gt;cat fileB&lt;BR /&gt;jhon@yahoo.com&lt;BR /&gt;postmaster@hotmail.com&lt;BR /&gt;**********************************&lt;BR /&gt;grep -v hotmail.com fileB ---&amp;gt;this works&lt;BR /&gt;&lt;BR /&gt;in script:&lt;BR /&gt;cat fileA|while read domain; do grep -v $domain fileB ; done&lt;BR /&gt;&lt;BR /&gt;this not works &lt;BR /&gt;&lt;BR /&gt;for i in `cat fileA`&lt;BR /&gt;do&lt;BR /&gt;grep -v $i fileB&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;this not works&lt;BR /&gt;&lt;BR /&gt;the problem is the name@domain grep -v domain&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2007 16:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-shell-script/m-p/3979593#M95584</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2007-04-11T16:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: help shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-shell-script/m-p/3979594#M95585</link>
      <description>Hi Jairo:&lt;BR /&gt;&lt;BR /&gt;# cat fileA&lt;BR /&gt;yahoo.com&lt;BR /&gt;hotmail.com&lt;BR /&gt;hp.com&lt;BR /&gt;&lt;BR /&gt;# cat fileB&lt;BR /&gt;jhon@yahoo.com&lt;BR /&gt;postmaster@hotmail.com&lt;BR /&gt;somebody@xyz.com&lt;BR /&gt;anotherbody@bigdot.com&lt;BR /&gt;&lt;BR /&gt;# grep -F -v -f fileA fileB&lt;BR /&gt;somebody@xyz.com&lt;BR /&gt;anotherbody@bigdot.com&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 11 Apr 2007 16:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-shell-script/m-p/3979594#M95585</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-11T16:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: help shell script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-shell-script/m-p/3979595#M95586</link>
      <description>Hi Jairo,&lt;BR /&gt;this should work:&lt;BR /&gt;grep -vf fileA fileB&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2007 02:50:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-shell-script/m-p/3979595#M95586</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2007-04-12T02:50:31Z</dc:date>
    </item>
  </channel>
</rss>

