<?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 script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899829#M403907</link>
    <description>Here is an example SED script I did some time ago that matches your description. Modify to fit your needs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 04 May 2005 10:16:17 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2005-05-04T10:16:17Z</dc:date>
    <item>
      <title>grep script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899827#M403905</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am having some difficulty writing a script for the following requirement:&lt;BR /&gt;&lt;BR /&gt;The script needs to be able to search only "WWI*MAN*" files within a certain dir and from these files rcp the ones which contain certain lines beginning with '3' and also contain 'TIL' (in the same format as my attached file) to another network server.&lt;BR /&gt;&lt;BR /&gt;Big points for anyone can help with this.&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;p.s. my attachment is only the mid section of the original file, it does not begin or end in this format.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2005 10:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899827#M403905</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2005-05-04T10:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: grep script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899828#M403906</link>
      <description>cd /your/directory&lt;BR /&gt;grep -l "^3.*TIL" WWI*MAN* -exec rcp {} othrsrvr:/tmp/{} \;&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Wed, 04 May 2005 10:16:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899828#M403906</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-05-04T10:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: grep script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899829#M403907</link>
      <description>Here is an example SED script I did some time ago that matches your description. Modify to fit your needs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2005 10:16:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899829#M403907</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-05-04T10:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: grep script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899830#M403908</link>
      <description>Thanks lads,&lt;BR /&gt;That was just the help I was looking for.&lt;BR /&gt;Cheers.</description>
      <pubDate>Wed, 04 May 2005 10:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/grep-script/m-p/4899830#M403908</guid>
      <dc:creator>Duffs</dc:creator>
      <dc:date>2005-05-04T10:49:33Z</dc:date>
    </item>
  </channel>
</rss>

