<?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 unix script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-script/m-p/4923132#M408331</link>
    <description>I have ten files, each with output of diff command, e.g.&lt;BR /&gt;&lt;BR /&gt;110a111&lt;BR /&gt;&amp;gt; ./dir1/filename&lt;BR /&gt;&amp;gt; ./dir1/filenameB&lt;BR /&gt;178a190&lt;BR /&gt;&amp;gt; ./dir1/subdir/filename&lt;BR /&gt;&amp;gt; ./dir1/subdir/filenameB&lt;BR /&gt;&lt;BR /&gt;I want to check each of these files, and essentially copy all the files to an "old" area and then remove them.  Each of the ten files need to produce a separate output file.&lt;BR /&gt;&lt;BR /&gt;Any clues of what script to fit this?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 02 Sep 2005 08:02:08 GMT</pubDate>
    <dc:creator>ian walker_1</dc:creator>
    <dc:date>2005-09-02T08:02:08Z</dc:date>
    <item>
      <title>unix script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-script/m-p/4923132#M408331</link>
      <description>I have ten files, each with output of diff command, e.g.&lt;BR /&gt;&lt;BR /&gt;110a111&lt;BR /&gt;&amp;gt; ./dir1/filename&lt;BR /&gt;&amp;gt; ./dir1/filenameB&lt;BR /&gt;178a190&lt;BR /&gt;&amp;gt; ./dir1/subdir/filename&lt;BR /&gt;&amp;gt; ./dir1/subdir/filenameB&lt;BR /&gt;&lt;BR /&gt;I want to check each of these files, and essentially copy all the files to an "old" area and then remove them.  Each of the ten files need to produce a separate output file.&lt;BR /&gt;&lt;BR /&gt;Any clues of what script to fit this?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Sep 2005 08:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-script/m-p/4923132#M408331</guid>
      <dc:creator>ian walker_1</dc:creator>
      <dc:date>2005-09-02T08:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: unix script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-script/m-p/4923133#M408332</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you don't say much about the output filename (how to recognize them !).&lt;BR /&gt;Also, instead of copy and delte why not move them ?&lt;BR /&gt;&lt;BR /&gt;for fln in $(ls *.diff_out)&lt;BR /&gt;do&lt;BR /&gt;  mv $fln $DEST/.&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;DEST is a vaiable for the target directory&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jean-Luc&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Sep 2005 08:13:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-script/m-p/4923133#M408332</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2005-09-02T08:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: unix script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unix-script/m-p/4923134#M408333</link>
      <description>found answer myself through trial and error</description>
      <pubDate>Fri, 02 Sep 2005 08:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unix-script/m-p/4923134#M408333</guid>
      <dc:creator>ian walker_1</dc:creator>
      <dc:date>2005-09-02T08:30:15Z</dc:date>
    </item>
  </channel>
</rss>

