<?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: Difference between grep and egrep in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764002#M893506</link>
    <description>According to the man pages:&lt;BR /&gt;&lt;BR /&gt;egrep is maintained for backward compatibility.  It has been replaced with the -E option of grep (for Extended regular expressions).</description>
    <pubDate>Mon, 15 Jul 2002 15:31:27 GMT</pubDate>
    <dc:creator>Jeanine Kone</dc:creator>
    <dc:date>2002-07-15T15:31:27Z</dc:date>
    <item>
      <title>Difference between grep and egrep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764001#M893505</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I???d like to kow the meaning of this code lines,&lt;BR /&gt;Why it is using ???egrep??? instead of grep?&lt;BR /&gt;&lt;BR /&gt;......................................&lt;BR /&gt;#Runs the utility in report mode&lt;BR /&gt;xsm_check_erregistrations -r 0 &amp;gt; /tmp/log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;if [ ! -a /tmp/log ]&lt;BR /&gt;then&lt;BR /&gt;    #no stale registrations&lt;BR /&gt;    exit 0&lt;BR /&gt;fi&lt;BR /&gt;stalereglist='egrep "Stale ER Client:" /tmp/log | awk -F ":" '[print $4]''&lt;BR /&gt;.............................................&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What is, in general, the difference between grep and egrep?&lt;BR /&gt;&lt;BR /&gt;Regards, Angelo Trenta&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jul 2002 15:28:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764001#M893505</guid>
      <dc:creator>Trenta Angelo</dc:creator>
      <dc:date>2002-07-15T15:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between grep and egrep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764002#M893506</link>
      <description>According to the man pages:&lt;BR /&gt;&lt;BR /&gt;egrep is maintained for backward compatibility.  It has been replaced with the -E option of grep (for Extended regular expressions).</description>
      <pubDate>Mon, 15 Jul 2002 15:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764002#M893506</guid>
      <dc:creator>Jeanine Kone</dc:creator>
      <dc:date>2002-07-15T15:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between grep and egrep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764003#M893507</link>
      <description>egrep is a fairly archaic command these days. The preferred method is to use grep -E rather than egrep. The difference is that the regular expression processing is more powerful in egrep (or -E) at the cost of speed. In your example, it appears that grep would work as well. The other major difference is that multiple patterns can be specified in the 'extended' version.&lt;BR /&gt;&lt;BR /&gt;Man grep for more details.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jul 2002 15:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764003#M893507</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-07-15T15:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between grep and egrep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764004#M893508</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;grep is used to search for a single pattern&lt;BR /&gt;&lt;BR /&gt;ex: grep &lt;EXPRESSION&gt; &lt;FILENAME&gt;&lt;BR /&gt;whereas egrep searches multiple expression at a time&lt;BR /&gt;&lt;BR /&gt;ex: egrep '&lt;EXPRESSION1&gt; expression2&amp;gt; &lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;in ur case it is searching any of Stale ER or Client.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;&lt;/FILENAME&gt;&lt;/EXPRESSION1&gt;&lt;/FILENAME&gt;&lt;/EXPRESSION&gt;</description>
      <pubDate>Mon, 15 Jul 2002 15:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764004#M893508</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2002-07-15T15:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between grep and egrep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764005#M893509</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;'egrep' stands for "extended" grep.  If you use the '-E' option of 'grep' you will achieve the same functionality.  Similarly, the '-F' option of 'grep' yields fixed-string searches in lieu of using 'fgrep'.  See the man pages for 'grep' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 15 Jul 2002 15:35:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764005#M893509</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-15T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between grep and egrep</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764006#M893510</link>
      <description>Hi Angela&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You may like  to look at this &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;:&lt;A href="http://www.ntlug.org/archive/tp/shell_ccox/img8.htm" target="_blank"&gt;http://www.ntlug.org/archive/tp/shell_ccox/img8.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 15 Jul 2002 15:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/difference-between-grep-and-egrep/m-p/2764006#M893510</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-07-15T15:44:20Z</dc:date>
    </item>
  </channel>
</rss>

