<?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: grep in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030526#M132483</link>
    <description>Thanks .It worked.&lt;BR /&gt;</description>
    <pubDate>Tue, 22 Jul 2003 22:22:41 GMT</pubDate>
    <dc:creator>navin</dc:creator>
    <dc:date>2003-07-22T22:22:41Z</dc:date>
    <item>
      <title>grep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030522#M132479</link>
      <description>helo,&lt;BR /&gt;i'm using grep to find out a string from a file say "SUNG".but it grep's all entries with "SUNG".Please help to grep the exact string.&lt;BR /&gt;Thanks in Advance.</description>
      <pubDate>Tue, 22 Jul 2003 21:32:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030522#M132479</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2003-07-22T21:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: grep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030523#M132480</link>
      <description>Navin -&lt;BR /&gt;&lt;BR /&gt;grep 'SUNG' file_name | grep -v 'SUNGA' | grep -v 'SUNGB'&lt;BR /&gt;&lt;BR /&gt;etc, etc for the other variations of SUNG&lt;BR /&gt;&lt;BR /&gt;Best of luck.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;dl</description>
      <pubDate>Tue, 22 Jul 2003 21:54:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030523#M132480</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2003-07-22T21:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: grep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030524#M132481</link>
      <description>grep " SUNG " whatever&lt;BR /&gt;or grep -e "^SUNG " -e " SUNG " -e " SUNG$"</description>
      <pubDate>Tue, 22 Jul 2003 21:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030524#M132481</guid>
      <dc:creator>Tom Ward_1</dc:creator>
      <dc:date>2003-07-22T21:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: grep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030525#M132482</link>
      <description>Hi Navin&lt;BR /&gt;&lt;BR /&gt;Unfortunately grep is not great at matching exact syntax like you want.&lt;BR /&gt;For example:&lt;BR /&gt;# grep SUNG &lt;FILENAME&gt;&lt;BR /&gt;This will find all lines with SUNG string, including SUNG, SUNGD, GSUNG ffSUNGfg etc etc.&lt;BR /&gt;&lt;BR /&gt;You need to try and find someway to differentiate the string you are searching for.&lt;BR /&gt;Examples:&lt;BR /&gt;grep "^SUNG"&lt;BR /&gt;All lines that start with SUNG&lt;BR /&gt;grep " SUNG "&lt;BR /&gt;All lines that have SUNG preceded &amp;amp; followed by a space.&lt;BR /&gt;grep -x "SUNG"&lt;BR /&gt;All lines that only have SUNG in the line, nothing else.&lt;BR /&gt;&lt;BR /&gt;Hope this might give you some ideas.&lt;BR /&gt;If you post the exact string you're trying to match, someone may be able to offer you a solution.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;/FILENAME&gt;</description>
      <pubDate>Tue, 22 Jul 2003 22:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030525#M132482</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-22T22:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: grep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030526#M132483</link>
      <description>Thanks .It worked.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jul 2003 22:22:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep/m-p/3030526#M132483</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2003-07-22T22:22:41Z</dc:date>
    </item>
  </channel>
</rss>

