<?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 help with script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977717#M753399</link>
    <description>hello, I have a file  and I want to insert a word at the beginning example&lt;BR /&gt;&lt;BR /&gt;cat file1&lt;BR /&gt;john&lt;BR /&gt;carl&lt;BR /&gt;&lt;BR /&gt;I want to insert the word hello&lt;BR /&gt;obtaing:&lt;BR /&gt;cat file1&lt;BR /&gt;hello john&lt;BR /&gt;hello carl&lt;BR /&gt;hello ...&lt;BR /&gt;hello ...&lt;BR /&gt;....&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 09 Apr 2007 15:39:52 GMT</pubDate>
    <dc:creator>Jairo Campana</dc:creator>
    <dc:date>2007-04-09T15:39:52Z</dc:date>
    <item>
      <title>help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977717#M753399</link>
      <description>hello, I have a file  and I want to insert a word at the beginning example&lt;BR /&gt;&lt;BR /&gt;cat file1&lt;BR /&gt;john&lt;BR /&gt;carl&lt;BR /&gt;&lt;BR /&gt;I want to insert the word hello&lt;BR /&gt;obtaing:&lt;BR /&gt;cat file1&lt;BR /&gt;hello john&lt;BR /&gt;hello carl&lt;BR /&gt;hello ...&lt;BR /&gt;hello ...&lt;BR /&gt;....&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Apr 2007 15:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977717#M753399</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2007-04-09T15:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977718#M753400</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# sed -n 's/^/hello /p' file1&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Apr 2007 15:41:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977718#M753400</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-09T15:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977719#M753401</link>
      <description>One way among many...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ed file1 &amp;lt;&lt;EOC&gt;&lt;/EOC&gt;1,\$s/^/hello /g&lt;BR /&gt;w&lt;BR /&gt;q&lt;BR /&gt;EOC</description>
      <pubDate>Mon, 09 Apr 2007 15:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977719#M753401</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2007-04-09T15:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977720#M753402</link>
      <description>and still another:&lt;BR /&gt;&lt;BR /&gt;cat file1 | while read X&lt;BR /&gt;  do&lt;BR /&gt;    echo "hello ${X}"&lt;BR /&gt;  done&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Apr 2007 15:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977720#M753402</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-09T15:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977721#M753403</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Yet another, which updates your file "inplace" is:&lt;BR /&gt;&lt;BR /&gt;# perl -pi -e 's/^/hello /' file1&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Apr 2007 15:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977721#M753403</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-09T15:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977722#M753404</link>
      <description>Clay , I change "${X}" for  $X &lt;BR /&gt;with "{}" no working in the while.&lt;BR /&gt;&lt;BR /&gt;and still another:&lt;BR /&gt;&lt;BR /&gt;cat file1 | while read X&lt;BR /&gt;do&lt;BR /&gt;echo "hello $X"&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;thanks to all for the aid</description>
      <pubDate>Mon, 09 Apr 2007 16:18:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977722#M753404</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2007-04-09T16:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977723#M753405</link>
      <description>awk '{print "hello "$0}' file1</description>
      <pubDate>Mon, 09 Apr 2007 16:25:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977723#M753405</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-04-09T16:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977724#M753406</link>
      <description>the perl this is a best option .</description>
      <pubDate>Mon, 09 Apr 2007 16:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-script/m-p/3977724#M753406</guid>
      <dc:creator>Jairo Campana</dc:creator>
      <dc:date>2007-04-09T16:25:42Z</dc:date>
    </item>
  </channel>
</rss>

