<?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: Script to copy file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842031#M936583</link>
    <description>Scott,&lt;BR /&gt;It works.&lt;BR /&gt;Tks</description>
    <pubDate>Mon, 11 Nov 2002 02:41:36 GMT</pubDate>
    <dc:creator>Stephen Ng</dc:creator>
    <dc:date>2002-11-11T02:41:36Z</dc:date>
    <item>
      <title>Script to copy file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842028#M936580</link>
      <description>The following script works on other Unix OS but not HP/UX:&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;for i in cat flist&lt;BR /&gt;do&lt;BR /&gt;   cp ./$i ./newdir/$i&lt;BR /&gt;   done&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;where filst is a text file with one filname per line</description>
      <pubDate>Mon, 11 Nov 2002 02:24:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842028#M936580</guid>
      <dc:creator>Stephen Ng</dc:creator>
      <dc:date>2002-11-11T02:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Script to copy file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842029#M936581</link>
      <description>try&lt;BR /&gt;&lt;BR /&gt;for i in `cat flist`&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Nov 2002 02:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842029#M936581</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-11-11T02:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script to copy file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842030#M936582</link>
      <description>you could even try:&lt;BR /&gt;&lt;BR /&gt;go()&lt;BR /&gt;{&lt;BR /&gt;while read file&lt;BR /&gt;do&lt;BR /&gt; cp $file ./newdir/$file&lt;BR /&gt;done&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;go &amp;lt; flist&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Nov 2002 02:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842030#M936582</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-11-11T02:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Script to copy file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842031#M936583</link>
      <description>Scott,&lt;BR /&gt;It works.&lt;BR /&gt;Tks</description>
      <pubDate>Mon, 11 Nov 2002 02:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842031#M936583</guid>
      <dc:creator>Stephen Ng</dc:creator>
      <dc:date>2002-11-11T02:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script to copy file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842032#M936584</link>
      <description>It is recomended to put $i in double quotes, if i has a space in it it could cause major hickups.&lt;BR /&gt;&lt;BR /&gt;Hence change all $i to "$i". As a general note under unix scripts put all variable substitutions in double quotes.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Gerhard</description>
      <pubDate>Tue, 12 Nov 2002 07:42:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-copy-file/m-p/2842032#M936584</guid>
      <dc:creator>Gerhard Roets</dc:creator>
      <dc:date>2002-11-12T07:42:44Z</dc:date>
    </item>
  </channel>
</rss>

