<?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 egrep question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039311#M906887</link>
    <description>I am using egrep to pick some information out of an Oracle export. &lt;BR /&gt;I am using the following:&lt;BR /&gt;cat export.dmp|egrep "F983051|F98306|F98720|F98740|F98741|F98743"&lt;BR /&gt;What is the maximum length of the string I can use? It seems if I put too many table names in the string I get no results.&lt;BR /&gt;Any other ideas how to do this?</description>
    <pubDate>Fri, 01 Aug 2003 10:56:30 GMT</pubDate>
    <dc:creator>bob hollis</dc:creator>
    <dc:date>2003-08-01T10:56:30Z</dc:date>
    <item>
      <title>egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039311#M906887</link>
      <description>I am using egrep to pick some information out of an Oracle export. &lt;BR /&gt;I am using the following:&lt;BR /&gt;cat export.dmp|egrep "F983051|F98306|F98720|F98740|F98741|F98743"&lt;BR /&gt;What is the maximum length of the string I can use? It seems if I put too many table names in the string I get no results.&lt;BR /&gt;Any other ideas how to do this?</description>
      <pubDate>Fri, 01 Aug 2003 10:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039311#M906887</guid>
      <dc:creator>bob hollis</dc:creator>
      <dc:date>2003-08-01T10:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039312#M906888</link>
      <description>You can use a file, with the option -f "filename"&lt;BR /&gt;&lt;BR /&gt;  Massimo</description>
      <pubDate>Fri, 01 Aug 2003 10:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039312#M906888</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-01T10:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039313#M906889</link>
      <description>Hi,&lt;BR /&gt;thinking a little more: would it ne more usefull if you do a fake import ?&lt;BR /&gt;&lt;BR /&gt;egrep-ping an oracle dump is not very usefull, but an import with&lt;BR /&gt;&lt;BR /&gt;indexfile=file1.txt show=y&lt;BR /&gt;&lt;BR /&gt;will be more usefull&lt;BR /&gt;&lt;BR /&gt;  Massimo&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2003 11:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039313#M906889</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-08-01T11:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039314#M906890</link>
      <description>Hi, you can do it with awk.&lt;BR /&gt;&lt;BR /&gt;cat export.dmp | awk '&lt;BR /&gt;/F983051/&lt;BR /&gt;/F98306/&lt;BR /&gt;/F98720/&lt;BR /&gt;/F98740/&lt;BR /&gt;/F98741/&lt;BR /&gt;/F98743/&lt;BR /&gt;....&lt;BR /&gt;'&lt;BR /&gt;&lt;BR /&gt;It is not needed the print statement because is the default one.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Frank</description>
      <pubDate>Fri, 01 Aug 2003 11:12:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039314#M906890</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2003-08-01T11:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039315#M906891</link>
      <description>Hi Bob,&lt;BR /&gt;I do not know the limit, but perhaps you can shorten your reg. expression string by organizing it for matching ranges, e.g.:&lt;BR /&gt; # egrep "F9830[5-6]*|F987[1-2][0-1]" export.dmp&lt;BR /&gt;&lt;BR /&gt;which will match the strings:&lt;BR /&gt;F98305 + whatever comes after&lt;BR /&gt;F98306 + whatever comes after&lt;BR /&gt;F98710&lt;BR /&gt;F98711&lt;BR /&gt;F98720&lt;BR /&gt;F98721&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2003 11:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039315#M906891</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2003-08-01T11:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: egrep question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039316#M906892</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;You can use perl,&lt;BR /&gt;&lt;BR /&gt;open (FH, filename);&lt;BR /&gt;&lt;BR /&gt;foreach (&lt;FH&gt;)&lt;BR /&gt;{&lt;BR /&gt; if (/F983051|F98306|F98720|F98740|F98741/)&lt;BR /&gt; {&lt;BR /&gt;   print "Found: $_";&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;close (FH);&lt;BR /&gt;&lt;BR /&gt;Caesar&lt;/FH&gt;</description>
      <pubDate>Sat, 02 Aug 2003 19:03:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/egrep-question/m-p/3039316#M906892</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-08-02T19:03:50Z</dc:date>
    </item>
  </channel>
</rss>

