<?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: Help with awk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085133#M441371</link>
    <description>Thanks to all who responded.  All the solutions worked.  It was a good awk learning experience.&lt;BR /&gt;&lt;BR /&gt;Norm&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Dec 2007 23:32:37 GMT</pubDate>
    <dc:creator>wvsa</dc:creator>
    <dc:date>2007-12-19T23:32:37Z</dc:date>
    <item>
      <title>Help with awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085128#M441366</link>
      <description>Greetings all;&lt;BR /&gt;&lt;BR /&gt;I'm trying to remove the % sign from the following awk command:&lt;BR /&gt;&lt;BR /&gt;memchk | grep physical | awk '{print $5}' &lt;BR /&gt;&lt;BR /&gt;The value printed is 75% need to find a way to remove the % sign.&lt;BR /&gt;&lt;BR /&gt;Thank you for your input.&lt;BR /&gt;&lt;BR /&gt;Norm&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 21:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085128#M441366</guid>
      <dc:creator>wvsa</dc:creator>
      <dc:date>2007-12-19T21:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085129#M441367</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;memchk | grep physical | awk '{print $5}' | tr -d "%"  &lt;BR /&gt;&lt;BR /&gt;Hasan</description>
      <pubDate>Wed, 19 Dec 2007 21:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085129#M441367</guid>
      <dc:creator>Hasan  Atasoy</dc:creator>
      <dc:date>2007-12-19T21:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085130#M441368</link>
      <description># memchk | awk '/physical/ {print z[split($5,z,"%")-1]}'</description>
      <pubDate>Wed, 19 Dec 2007 21:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085130#M441368</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-12-19T21:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085131#M441369</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;This should also work&lt;BR /&gt;&lt;BR /&gt;memchk | grep physical |awk '{print $5}' | awk -F '%" '{print $1}'&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Padma</description>
      <pubDate>Wed, 19 Dec 2007 21:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085131#M441369</guid>
      <dc:creator>Padma Asrani</dc:creator>
      <dc:date>2007-12-19T21:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085132#M441370</link>
      <description>Hi Norm:&lt;BR /&gt;&lt;BR /&gt;You could also do:&lt;BR /&gt;&lt;BR /&gt;# memchk|awk '/physical/ {sub(/%/,"",$5);print}'&lt;BR /&gt;&lt;BR /&gt;This eliminates the extra process (viz. 'grep') along with accomodating your request!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 19 Dec 2007 22:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085132#M441370</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-19T22:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085133#M441371</link>
      <description>Thanks to all who responded.  All the solutions worked.  It was a good awk learning experience.&lt;BR /&gt;&lt;BR /&gt;Norm&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Dec 2007 23:32:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085133#M441371</guid>
      <dc:creator>wvsa</dc:creator>
      <dc:date>2007-12-19T23:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085134#M441372</link>
      <description>If you are happy with the answers you have gotten please read the following.  You should reopen the thread and assign points:&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums12.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums12.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;Questions or topics with unassigned points&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/pageList.do?userId=CA38694&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/pageList.do?userId=CA38694&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt;</description>
      <pubDate>Thu, 20 Dec 2007 07:17:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-with-awk/m-p/5085134#M441372</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-12-20T07:17:23Z</dc:date>
    </item>
  </channel>
</rss>

