<?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: Need help writing script with vi in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467463#M774601</link>
    <description>Thank you Rainer, that is just what I need.</description>
    <pubDate>Mon, 27 Nov 2000 13:52:05 GMT</pubDate>
    <dc:creator>Guilherme Belinelo</dc:creator>
    <dc:date>2000-11-27T13:52:05Z</dc:date>
    <item>
      <title>Need help writing script with vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467461#M774599</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can someone help me in replacing a word in several ascii files within a folder? What I need to do is replace the word cgi.exe for cgi in html pages.</description>
      <pubDate>Mon, 27 Nov 2000 13:17:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467461#M774599</guid>
      <dc:creator>Guilherme Belinelo</dc:creator>
      <dc:date>2000-11-27T13:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing script with vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467462#M774600</link>
      <description>you can use a little script&lt;BR /&gt;&lt;BR /&gt;for file in *.html&lt;BR /&gt;do&lt;BR /&gt;  sed -e 's/cgi.exe/cgi/g' $file &amp;gt;$file.tmp&lt;BR /&gt;  mv $file.tmp $file&lt;BR /&gt;done</description>
      <pubDate>Mon, 27 Nov 2000 13:26:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467462#M774600</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-11-27T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing script with vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467463#M774601</link>
      <description>Thank you Rainer, that is just what I need.</description>
      <pubDate>Mon, 27 Nov 2000 13:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467463#M774601</guid>
      <dc:creator>Guilherme Belinelo</dc:creator>
      <dc:date>2000-11-27T13:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing script with vi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467464#M774602</link>
      <description>If you have perl available this is more consice:&lt;BR /&gt;&lt;BR /&gt;perl -pi -e 's/cgi.exe/cgi/g' *.html&lt;BR /&gt;&lt;BR /&gt;Perl will do all the magic for you.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Nov 2000 21:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-writing-script-with-vi/m-p/2467464#M774602</guid>
      <dc:creator>Leslie Chaim</dc:creator>
      <dc:date>2000-11-27T21:51:03Z</dc:date>
    </item>
  </channel>
</rss>

