<?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: IFS and awk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571966#M228323</link>
    <description>thanks.</description>
    <pubDate>Tue, 28 Jun 2005 04:38:12 GMT</pubDate>
    <dc:creator>Mario_88</dc:creator>
    <dc:date>2005-06-28T04:38:12Z</dc:date>
    <item>
      <title>IFS and awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571964#M228321</link>
      <description>Hello: &lt;BR /&gt;&lt;BR /&gt;  What I want is given the following sequence of commands:&lt;BR /&gt;&lt;BR /&gt;commands="cmviewcl -v;ls -al; netstat -an"&lt;BR /&gt;&lt;BR /&gt;execute them one by one. I tried the following&lt;BR /&gt;&lt;BR /&gt;export COMMANDS="cmviewcl -v;netstat -an"&lt;BR /&gt;init()&lt;BR /&gt;{&lt;BR /&gt;export IFS=";"&lt;BR /&gt;for i in $@&lt;BR /&gt;do&lt;BR /&gt;        $i&lt;BR /&gt;done&lt;BR /&gt;}&lt;BR /&gt;init $COMMANDS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; But it doesnt work and tries to execute the commands: cmviewcl, -v, netstat, -an&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mario.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jun 2005 04:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571964#M228321</guid>
      <dc:creator>Mario_88</dc:creator>
      <dc:date>2005-06-28T04:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: IFS and awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571965#M228322</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;export COMMANDS="cmviewcl -v;netstat -an"&lt;BR /&gt;init()&lt;BR /&gt;{&lt;BR /&gt;for i in $@&lt;BR /&gt;do&lt;BR /&gt;$i&lt;BR /&gt;done&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;export IFS=";"&lt;BR /&gt;init $COMMANDS&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jun 2005 04:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571965#M228322</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-06-28T04:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: IFS and awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571966#M228323</link>
      <description>thanks.</description>
      <pubDate>Tue, 28 Jun 2005 04:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571966#M228323</guid>
      <dc:creator>Mario_88</dc:creator>
      <dc:date>2005-06-28T04:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: IFS and awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571967#M228324</link>
      <description>Did you get the reason.&lt;BR /&gt;&lt;BR /&gt;The IFS should be there before passing the parameters, in your case the parameters were passed keeping the default IFS.</description>
      <pubDate>Tue, 28 Jun 2005 04:44:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ifs-and-awk/m-p/3571967#M228324</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-06-28T04:44:20Z</dc:date>
    </item>
  </channel>
</rss>

