<?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 awk Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk-script/m-p/4868116#M706643</link>
    <description>I want to use awk on my data.  Here are two lines (of several) to represent the data I have.&lt;BR /&gt;&lt;BR /&gt;One month ago: Sep29    100% (10%) &amp;lt;---- *HIGH*&lt;BR /&gt;One week ago:  Oct22    100% (-2%) &amp;lt;---- *HIGH*&lt;BR /&gt;&lt;BR /&gt;I want the number in parentheses without the '%' but with the '-'.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Scott</description>
    <pubDate>Fri, 29 Oct 2004 12:11:43 GMT</pubDate>
    <dc:creator>Scott Frye_1</dc:creator>
    <dc:date>2004-10-29T12:11:43Z</dc:date>
    <item>
      <title>Help with awk Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk-script/m-p/4868116#M706643</link>
      <description>I want to use awk on my data.  Here are two lines (of several) to represent the data I have.&lt;BR /&gt;&lt;BR /&gt;One month ago: Sep29    100% (10%) &amp;lt;---- *HIGH*&lt;BR /&gt;One week ago:  Oct22    100% (-2%) &amp;lt;---- *HIGH*&lt;BR /&gt;&lt;BR /&gt;I want the number in parentheses without the '%' but with the '-'.&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Scott</description>
      <pubDate>Fri, 29 Oct 2004 12:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk-script/m-p/4868116#M706643</guid>
      <dc:creator>Scott Frye_1</dc:creator>
      <dc:date>2004-10-29T12:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk-script/m-p/4868117#M706644</link>
      <description>Hi Scott,&lt;BR /&gt;&lt;BR /&gt;assume the file is /tmp/test&lt;BR /&gt;&lt;BR /&gt;cat /tmp/test&lt;BR /&gt;One month ago: Sep29 100% (10%) &amp;lt;---- *HIGH*&lt;BR /&gt;One week ago: Oct22 100% (-2%) &amp;lt;---- *HIGH*&lt;BR /&gt;&lt;BR /&gt;Try this,&lt;BR /&gt;&lt;BR /&gt;cat /tmp/test |tr -d "()"|cut -f 2 -d "%"&lt;BR /&gt;&lt;BR /&gt;this will give you the output.&lt;BR /&gt;&lt;BR /&gt;10&lt;BR /&gt;-2&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Oct 2004 12:20:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk-script/m-p/4868117#M706644</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-10-29T12:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk-script/m-p/4868118#M706645</link>
      <description>works like a charm!&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 29 Oct 2004 12:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk-script/m-p/4868118#M706645</guid>
      <dc:creator>Scott Frye_1</dc:creator>
      <dc:date>2004-10-29T12:25:47Z</dc:date>
    </item>
  </channel>
</rss>

