<?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: Shell scripting help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250289#M658465</link>
    <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Of course you can type less if you use 'awk':&lt;BR /&gt;&lt;BR /&gt;# awk '{printf "%.2f\n",$1}' file&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 04 Aug 2010 13:09:46 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2010-08-04T13:09:46Z</dc:date>
    <item>
      <title>Shell scripting help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250286#M658462</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;My file looks like this:&lt;BR /&gt;&lt;BR /&gt;cat 123&lt;BR /&gt;70&lt;BR /&gt;82.1&lt;BR /&gt;12.34&lt;BR /&gt;11&lt;BR /&gt;10&lt;BR /&gt;125&lt;BR /&gt;&lt;BR /&gt;I want to modify the o/p to look like this:&lt;BR /&gt;70.00&lt;BR /&gt;82.10&lt;BR /&gt;12.34&lt;BR /&gt;11.00&lt;BR /&gt;10.00&lt;BR /&gt;125.00&lt;BR /&gt;&lt;BR /&gt;any help is appreciated&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Karthik S S&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Aug 2010 12:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250286#M658462</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2010-08-04T12:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Shell scripting help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250287#M658463</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# cat .reformat&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;while read NUM X&lt;BR /&gt;do&lt;BR /&gt;    printf "%.2f\n" ${NUM}&lt;BR /&gt;done &amp;lt; ./123&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 04 Aug 2010 12:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250287#M658463</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-08-04T12:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Shell scripting help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250288#M658464</link>
      <description>Thank you! it works :)</description>
      <pubDate>Wed, 04 Aug 2010 12:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250288#M658464</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2010-08-04T12:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Shell scripting help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250289#M658465</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Of course you can type less if you use 'awk':&lt;BR /&gt;&lt;BR /&gt;# awk '{printf "%.2f\n",$1}' file&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 04 Aug 2010 13:09:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250289#M658465</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-08-04T13:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Shell scripting help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250290#M658466</link>
      <description>Thank you James, that was very helpful (especially the awk one)&lt;BR /&gt;-Karthik</description>
      <pubDate>Wed, 04 Aug 2010 13:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-scripting-help/m-p/5250290#M658466</guid>
      <dc:creator>Karthik S S</dc:creator>
      <dc:date>2010-08-04T13:28:39Z</dc:date>
    </item>
  </channel>
</rss>

