<?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: how to remove percent sign at end of line in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136985#M688769</link>
    <description>or&lt;BR /&gt;&lt;BR /&gt;cat file|tr -d %&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 22 Oct 2008 18:10:36 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2008-10-22T18:10:36Z</dc:date>
    <item>
      <title>how to remove percent sign at end of line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136983#M688767</link>
      <description>I have a file that contains percentage output and I would like to extract just the number without the percent sign.  Here is a sample of what the file would contain.&lt;BR /&gt;&lt;BR /&gt;94%&lt;BR /&gt;95%&lt;BR /&gt;93%&lt;BR /&gt;100%&lt;BR /&gt;&lt;BR /&gt;How can I remove the "%" and just extract the number?</description>
      <pubDate>Wed, 22 Oct 2008 18:04:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136983#M688767</guid>
      <dc:creator>Rob Yohn</dc:creator>
      <dc:date>2008-10-22T18:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove percent sign at end of line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136984#M688768</link>
      <description>Something like this maybe:&lt;BR /&gt;&lt;BR /&gt;cat file |sed 's|%||g'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2008 18:09:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136984#M688768</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-10-22T18:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove percent sign at end of line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136985#M688769</link>
      <description>or&lt;BR /&gt;&lt;BR /&gt;cat file|tr -d %&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2008 18:10:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136985#M688769</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-10-22T18:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove percent sign at end of line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136986#M688770</link>
      <description>Hi Rob:&lt;BR /&gt;&lt;BR /&gt;# sed -e 's/%//' file&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 22 Oct 2008 18:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136986#M688770</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-10-22T18:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove percent sign at end of line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136987#M688771</link>
      <description>Thanks all.  That is exactly what I was looking for.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2008 18:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136987#M688771</guid>
      <dc:creator>Rob Yohn</dc:creator>
      <dc:date>2008-10-22T18:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove percent sign at end of line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136988#M688772</link>
      <description>Thanks for the quick response!&lt;BR /&gt;Points have been assigned.</description>
      <pubDate>Wed, 22 Oct 2008 18:17:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136988#M688772</guid>
      <dc:creator>Rob Yohn</dc:creator>
      <dc:date>2008-10-22T18:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove percent sign at end of line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136989#M688773</link>
      <description>If you want to remove it only on the end of the line (and no whitespaces after it):&lt;BR /&gt;sed 's/%$//' file</description>
      <pubDate>Wed, 22 Oct 2008 22:28:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-percent-sign-at-end-of-line/m-p/5136989#M688773</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-10-22T22:28:30Z</dc:date>
    </item>
  </channel>
</rss>

