<?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: Removing Input redirected files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992927#M124797</link>
    <description>Hi Tamil,&lt;BR /&gt;When I execute your statement, it says - rm: cat non-existent.&lt;BR /&gt;&lt;BR /&gt;Patricks statement works fine without any error mesg. Any suggestions?</description>
    <pubDate>Tue, 10 Jun 2003 03:23:23 GMT</pubDate>
    <dc:creator>Sanjay Verma</dc:creator>
    <dc:date>2003-06-10T03:23:23Z</dc:date>
    <item>
      <title>Removing Input redirected files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992924#M124794</link>
      <description>Hi Friends,&lt;BR /&gt;I've approx. 10 files listed in a ascii file - 'JNK'. Using the rm command, I would like to delete only the files listed in my file 'JNK'. Can you let me know how this can be accomplished?</description>
      <pubDate>Tue, 10 Jun 2003 02:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992924#M124794</guid>
      <dc:creator>Sanjay Verma</dc:creator>
      <dc:date>2003-06-10T02:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Input redirected files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992925#M124795</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;#for i in `cat JNK`&lt;BR /&gt;do&lt;BR /&gt;rm $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Tue, 10 Jun 2003 02:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992925#M124795</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-06-10T02:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Input redirected files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992926#M124796</link>
      <description>Another, very similar, way would be&lt;BR /&gt;&lt;BR /&gt;# for i in $(cat JNK)&lt;BR /&gt;do&lt;BR /&gt;echo "Removing file $i"&lt;BR /&gt;rm -i $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The 'rm -i' will ask you if you are sure you want to remove the file.  If you don't want to be prompted, make the rm statement read 'rm $i'.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jun 2003 03:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992926#M124796</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-06-10T03:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Input redirected files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992927#M124797</link>
      <description>Hi Tamil,&lt;BR /&gt;When I execute your statement, it says - rm: cat non-existent.&lt;BR /&gt;&lt;BR /&gt;Patricks statement works fine without any error mesg. Any suggestions?</description>
      <pubDate>Tue, 10 Jun 2003 03:23:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992927#M124797</guid>
      <dc:creator>Sanjay Verma</dc:creator>
      <dc:date>2003-06-10T03:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Input redirected files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992928#M124798</link>
      <description>Ok how about on one line?&lt;BR /&gt;&lt;BR /&gt;for i in `cat JNK`;do rm $i;done&lt;BR /&gt;&lt;BR /&gt;And if you want to see the files:&lt;BR /&gt;&lt;BR /&gt;for i in `cat JNK`;do echo $i;rm $i;done&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Jun 2003 03:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992928#M124798</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-06-10T03:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Input redirected files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992929#M124799</link>
      <description>One more thing to clarify what I added the little ticks around the `cat JNK` are the back ticks below the tilde ~ character.</description>
      <pubDate>Tue, 10 Jun 2003 03:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992929#M124799</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-06-10T03:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Input redirected files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992930#M124800</link>
      <description>Thanks for the clarification John. Cheers.</description>
      <pubDate>Tue, 10 Jun 2003 03:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-input-redirected-files/m-p/2992930#M124800</guid>
      <dc:creator>Sanjay Verma</dc:creator>
      <dc:date>2003-06-10T03:28:55Z</dc:date>
    </item>
  </channel>
</rss>

