<?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: egrep question in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363468#M61158</link>
    <description>&lt;!--!*#--&gt;&amp;gt; what should I do?&lt;BR /&gt;&lt;BR /&gt;First, show an actual command with its actual&lt;BR /&gt;output.  "I get errors" is not a useful&lt;BR /&gt;description of what you did, nor of what&lt;BR /&gt;happened when you did it.</description>
    <pubDate>Sat, 21 Feb 2009 04:24:15 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2009-02-21T04:24:15Z</dc:date>
    <item>
      <title>egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363467#M61157</link>
      <description>&lt;BR /&gt;I want to egrep for certain fields which are not existing in the current log files and am getting errors for that... &lt;BR /&gt;&lt;BR /&gt;egrep "'^20090220.14'|'^20090220.15'|'^20090220.16'|'^20090220.17'|'^20090220.18'"&lt;BR /&gt;&lt;BR /&gt;Some of the times are in future and logs don't have those entries and I get errors for them ... what should I do?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Allan</description>
      <pubDate>Fri, 20 Feb 2009 23:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363467#M61157</guid>
      <dc:creator>Allanm</dc:creator>
      <dc:date>2009-02-20T23:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363468#M61158</link>
      <description>&lt;!--!*#--&gt;&amp;gt; what should I do?&lt;BR /&gt;&lt;BR /&gt;First, show an actual command with its actual&lt;BR /&gt;output.  "I get errors" is not a useful&lt;BR /&gt;description of what you did, nor of what&lt;BR /&gt;happened when you did it.</description>
      <pubDate>Sat, 21 Feb 2009 04:24:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363468#M61158</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-02-21T04:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363469#M61159</link>
      <description>&amp;gt;I want to egrep for certain fields&lt;BR /&gt;&lt;BR /&gt;Why not use just grep?&lt;BR /&gt;grep -e "'^20090220.14'" -e "'^20090220.15'" ...&lt;BR /&gt;&lt;BR /&gt;Any reason you have single quotes inside of double?  This will hide the "^" if you intend to anchor at the start of the line:&lt;BR /&gt;grep -e "^20090220.14" -e "^20090220.15" ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt;which are not existing in the current log files and am getting errors for that&lt;BR /&gt;&lt;BR /&gt;If they don't exist, you can't find them.  What grep errors would you get?&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Feb 2009 15:57:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363469#M61159</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-21T15:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363470#M61160</link>
      <description>Why not just do it like this?&lt;BR /&gt;egrep "^20090220\.1[4-8]" file.txt&lt;BR /&gt;&lt;BR /&gt;Seems like a mess to make several "or"-statements for this.&lt;BR /&gt;&lt;BR /&gt;Also, the quotation seems unneccessery as Dennis pointed out.&lt;BR /&gt;&lt;BR /&gt;And you should assign some points to those who answered a week ago.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Fredrik Eriksson</description>
      <pubDate>Mon, 02 Mar 2009 12:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/egrep-question/m-p/4363470#M61160</guid>
      <dc:creator>Fredrik.eriksson</dc:creator>
      <dc:date>2009-03-02T12:18:50Z</dc:date>
    </item>
  </channel>
</rss>

