<?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 grep Matching anything except pattern in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080456#M440384</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a bunch of email lists that I need to find out which one have external addresses.&lt;BR /&gt;I have used grep to find file pattern matches but never to find ones that don't match.  I did a man grep but didn't see any ideas.  How can I use find/grep to to find all files that contain addresses other than @mydomain.com&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Paul</description>
    <pubDate>Tue, 20 Nov 2007 10:16:35 GMT</pubDate>
    <dc:creator>Paul Sperry</dc:creator>
    <dc:date>2007-11-20T10:16:35Z</dc:date>
    <item>
      <title>grep Matching anything except pattern</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080456#M440384</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a bunch of email lists that I need to find out which one have external addresses.&lt;BR /&gt;I have used grep to find file pattern matches but never to find ones that don't match.  I did a man grep but didn't see any ideas.  How can I use find/grep to to find all files that contain addresses other than @mydomain.com&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Paul</description>
      <pubDate>Tue, 20 Nov 2007 10:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080456#M440384</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2007-11-20T10:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: grep Matching anything except pattern</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080457#M440385</link>
      <description>Explore grep's '-v' option.</description>
      <pubDate>Tue, 20 Nov 2007 10:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080457#M440385</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-11-20T10:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: grep Matching anything except pattern</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080458#M440386</link>
      <description>When you did a "man grep", you didn't look hard enough. Use the -v option which lists all lines except those matching the pattern.</description>
      <pubDate>Tue, 20 Nov 2007 10:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080458#M440386</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-11-20T10:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: grep Matching anything except pattern</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080459#M440387</link>
      <description>Hi Paul:&lt;BR /&gt;&lt;BR /&gt;The '-v' switch of 'grep' negates a match.  That is, 'grep -v' finds everything that does NOT match:&lt;BR /&gt;&lt;BR /&gt;Compare :&lt;BR /&gt;&lt;BR /&gt;# grep local /etc/hosts&lt;BR /&gt;&lt;BR /&gt;...with:&lt;BR /&gt;&lt;BR /&gt;# grep -v local /etc/hosts&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2007 10:19:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080459#M440387</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-11-20T10:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: grep Matching anything except pattern</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080460#M440388</link>
      <description>Yes,&lt;BR /&gt;grep -v &lt;PATTERN&gt;&lt;BR /&gt;will do the required.&lt;/PATTERN&gt;</description>
      <pubDate>Tue, 20 Nov 2007 10:19:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080460#M440388</guid>
      <dc:creator>Shrikant Lavhate</dc:creator>
      <dc:date>2007-11-20T10:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: grep Matching anything except pattern</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080461#M440389</link>
      <description>Silly me I passed the -v option assuming it was as usual verbos.  Thanks guys/gals your the best.  Bunnies for all!!</description>
      <pubDate>Tue, 20 Nov 2007 10:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080461#M440389</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2007-11-20T10:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: grep Matching anything except pattern</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080462#M440390</link>
      <description>Thanks Again</description>
      <pubDate>Tue, 20 Nov 2007 10:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-matching-anything-except-pattern/m-p/5080462#M440390</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2007-11-20T10:26:42Z</dc:date>
    </item>
  </channel>
</rss>

