<?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: decimal numbers in shell scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-numbers-in-shell-scripts/m-p/2506824#M21606</link>
    <description>Thanks Patrick, that does exactly what I wanted!</description>
    <pubDate>Mon, 19 Mar 2001 19:22:17 GMT</pubDate>
    <dc:creator>Tony  LeBlanc</dc:creator>
    <dc:date>2001-03-19T19:22:17Z</dc:date>
    <item>
      <title>decimal numbers in shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-numbers-in-shell-scripts/m-p/2506822#M21604</link>
      <description>Could someone show me how to use decimal numbers in a shell script. I know bc and awk can do it, but how? examples please&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Tony</description>
      <pubDate>Mon, 19 Mar 2001 18:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-numbers-in-shell-scripts/m-p/2506822#M21604</guid>
      <dc:creator>Tony  LeBlanc</dc:creator>
      <dc:date>2001-03-19T18:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: decimal numbers in shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-numbers-in-shell-scripts/m-p/2506823#M21605</link>
      <description>Here is an example of an expression in one of my scripts that does an arithmetic calculation:&lt;BR /&gt;&lt;BR /&gt;used_disk1=`echo "scale=3\n$used_disk + $used_disk1" | bc`&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Does this help?</description>
      <pubDate>Mon, 19 Mar 2001 19:12:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-numbers-in-shell-scripts/m-p/2506823#M21605</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-03-19T19:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: decimal numbers in shell scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decimal-numbers-in-shell-scripts/m-p/2506824#M21606</link>
      <description>Thanks Patrick, that does exactly what I wanted!</description>
      <pubDate>Mon, 19 Mar 2001 19:22:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decimal-numbers-in-shell-scripts/m-p/2506824#M21606</guid>
      <dc:creator>Tony  LeBlanc</dc:creator>
      <dc:date>2001-03-19T19:22:17Z</dc:date>
    </item>
  </channel>
</rss>

