<?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: help on scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-scripting/m-p/4879002#M703902</link>
    <description>If I understand the question correctly, then try&lt;BR /&gt;this:&lt;BR /&gt;&lt;BR /&gt;FILELIST=`find $CDCFG -name PROD"*"cfg -exec      grep -il file {} \;`&lt;BR /&gt;echo "Enter the filename (options are $FILELIST)"&lt;BR /&gt;read FILE&lt;BR /&gt;cat $FILE &amp;gt; /tmp/basename $FILE.tmp&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
    <pubDate>Sun, 09 Jan 2005 21:11:33 GMT</pubDate>
    <dc:creator>Biswajit Tripathy</dc:creator>
    <dc:date>2005-01-09T21:11:33Z</dc:date>
    <item>
      <title>help on scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-scripting/m-p/4879001#M703901</link>
      <description>Below is a function within a script&lt;BR /&gt;&lt;BR /&gt;for FILE in `find $CDCFG -name PROD"*"cfg -exec grep -il file {} \;`&lt;BR /&gt; do&lt;BR /&gt; cat $FILE &amp;gt; /tmp/$(basename $FILE).tmp&lt;BR /&gt; done&lt;BR /&gt;&lt;BR /&gt;I want to list $FILE which contains 3 files and give the user an option to display the required file.&lt;BR /&gt;&lt;BR /&gt;can anyone give me a few idea's.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Jan 2005 19:58:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-scripting/m-p/4879001#M703901</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2005-01-09T19:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: help on scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-scripting/m-p/4879002#M703902</link>
      <description>If I understand the question correctly, then try&lt;BR /&gt;this:&lt;BR /&gt;&lt;BR /&gt;FILELIST=`find $CDCFG -name PROD"*"cfg -exec      grep -il file {} \;`&lt;BR /&gt;echo "Enter the filename (options are $FILELIST)"&lt;BR /&gt;read FILE&lt;BR /&gt;cat $FILE &amp;gt; /tmp/basename $FILE.tmp&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Jan 2005 21:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-scripting/m-p/4879002#M703902</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-09T21:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: help on scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-on-scripting/m-p/4879003#M703903</link>
      <description>Thanks but not what i was looking for.&lt;BR /&gt;&lt;BR /&gt;I want to list the files which are found then choose to cat the relevant file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 09 Jan 2005 21:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-on-scripting/m-p/4879003#M703903</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2005-01-09T21:18:18Z</dc:date>
    </item>
  </channel>
</rss>

