<?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: scripting! , how to do this ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970362#M417754</link>
    <description>tr -d '\%' &amp;lt; "your_file"</description>
    <pubDate>Wed, 29 Mar 2006 04:38:25 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2006-03-29T04:38:25Z</dc:date>
    <item>
      <title>scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970361#M417753</link>
      <description>Hi All ,&lt;BR /&gt;&lt;BR /&gt;I have this : data1.txt&lt;BR /&gt;--------&lt;BR /&gt;44%&lt;BR /&gt;53%&lt;BR /&gt;77%&lt;BR /&gt;61%&lt;BR /&gt;1%&lt;BR /&gt;3%&lt;BR /&gt;45%&lt;BR /&gt;49%&lt;BR /&gt;------&lt;BR /&gt;&lt;BR /&gt;How to get this out put like this:&lt;BR /&gt;-----&lt;BR /&gt;44&lt;BR /&gt;53&lt;BR /&gt;77&lt;BR /&gt;61&lt;BR /&gt;1&lt;BR /&gt;3&lt;BR /&gt;45&lt;BR /&gt;49&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 29 Mar 2006 04:34:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970361#M417753</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2006-03-29T04:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970362#M417754</link>
      <description>tr -d '\%' &amp;lt; "your_file"</description>
      <pubDate>Wed, 29 Mar 2006 04:38:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970362#M417754</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-03-29T04:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970363#M417755</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You can use this command:&lt;BR /&gt;&lt;BR /&gt;# cat data1.txt | sed 's/%/ /'&lt;BR /&gt;&lt;BR /&gt;44&lt;BR /&gt;53&lt;BR /&gt;77&lt;BR /&gt;61&lt;BR /&gt;1&lt;BR /&gt;3&lt;BR /&gt;45&lt;BR /&gt;49&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 29 Mar 2006 04:40:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970363#M417755</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-03-29T04:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970364#M417756</link>
      <description>&lt;BR /&gt;# awk -F"%" '{ print $1; }' &amp;lt; inputfile &amp;gt; outputfile&lt;BR /&gt;# cut -d"%" -f1 &amp;lt; inputfile &amp;gt; outputfile&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 29 Mar 2006 04:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970364#M417756</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-03-29T04:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970365#M417757</link>
      <description>To update in the same file itself then,&lt;BR /&gt;&lt;BR /&gt;# perl -pi -e 's/%//' filename&lt;BR /&gt;&lt;BR /&gt;Lots of ways to do it.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 29 Mar 2006 04:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970365#M417757</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-03-29T04:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970366#M417758</link>
      <description>Thanks all ,&lt;BR /&gt;Muthu  though # perl -pi -e 's/%//' filename , command not giving output. Rest all orking fine.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 04:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970366#M417758</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2006-03-29T04:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970367#M417759</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;perl -pi -e 's/%//' filename&lt;BR /&gt;&lt;BR /&gt;will update in the file itself.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# cat filename&lt;BR /&gt;45%&lt;BR /&gt;35%&lt;BR /&gt;&lt;BR /&gt;# perl -pi -e 's/%//' filename&lt;BR /&gt;# cat filename&lt;BR /&gt;45%&lt;BR /&gt;35%&lt;BR /&gt;&lt;BR /&gt;It is not needing any temporary files to do this action.&lt;BR /&gt;&lt;BR /&gt;If you don't want then simply as,&lt;BR /&gt;&lt;BR /&gt;# perl -p -e 's/%//' filename (without -i)&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Wed, 29 Mar 2006 04:49:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970367#M417759</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-03-29T04:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970368#M417760</link>
      <description>oops,&lt;BR /&gt;&lt;BR /&gt;# perl -pi -e 's/%//' filename&lt;BR /&gt;# cat filename&lt;BR /&gt;45&lt;BR /&gt;35&lt;BR /&gt;&lt;BR /&gt;will remove % and update in the same file.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Mar 2006 04:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970368#M417760</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-03-29T04:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: scripting! , how to do this ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970369#M417761</link>
      <description>Thanks Muthukumar ,&lt;BR /&gt;&lt;BR /&gt;Its working!!</description>
      <pubDate>Wed, 29 Mar 2006 05:04:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting-how-to-do-this/m-p/4970369#M417761</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2006-03-29T05:04:54Z</dc:date>
    </item>
  </channel>
</rss>

