<?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 Special characaters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629161#M920630</link>
    <description>i'm working with some software and i want to be able to manipulate the output of the top command a bit...&lt;BR /&gt;&lt;BR /&gt;however, there are those pesky ^[[5C type characters that clog up the output... i can't find out what they are or, more importantly, how i can use a regex to manipulate the text they are attached to... &lt;BR /&gt;&lt;BR /&gt;using my meager s/ / /g skills i can get rid of all of it but not the first ^[ &lt;BR /&gt;&lt;BR /&gt;any ideas?  &lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;&lt;BR /&gt;jerome</description>
    <pubDate>Tue, 11 Dec 2001 10:05:35 GMT</pubDate>
    <dc:creator>Jerome Salyers</dc:creator>
    <dc:date>2001-12-11T10:05:35Z</dc:date>
    <item>
      <title>Special characaters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629161#M920630</link>
      <description>i'm working with some software and i want to be able to manipulate the output of the top command a bit...&lt;BR /&gt;&lt;BR /&gt;however, there are those pesky ^[[5C type characters that clog up the output... i can't find out what they are or, more importantly, how i can use a regex to manipulate the text they are attached to... &lt;BR /&gt;&lt;BR /&gt;using my meager s/ / /g skills i can get rid of all of it but not the first ^[ &lt;BR /&gt;&lt;BR /&gt;any ideas?  &lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;BR /&gt;&lt;BR /&gt;jerome</description>
      <pubDate>Tue, 11 Dec 2001 10:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629161#M920630</guid>
      <dc:creator>Jerome Salyers</dc:creator>
      <dc:date>2001-12-11T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Special characaters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629162#M920631</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;try this:&lt;BR /&gt;&lt;BR /&gt;sed 's/[[:cntrl:]]\[//g'&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 11 Dec 2001 10:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629162#M920631</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-12-11T10:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Special characaters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629163#M920632</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can also use strings to filter off non-text chracters including the ctrl chracters ie. &lt;BR /&gt;&lt;BR /&gt;# top -d 1 | strings&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Tue, 11 Dec 2001 10:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629163#M920632</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-12-11T10:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Special characaters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629164#M920633</link>
      <description>Hi Jerome,&lt;BR /&gt;&lt;BR /&gt;Not sure if you realise, but there's a hidden (not in my man pages anyway) -f switch to allow you to dump the output to a file.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Tue, 11 Dec 2001 10:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629164#M920633</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-12-11T10:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Special characaters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629165#M920634</link>
      <description>Guess you are using vi to search and replace the special characters. If so the trick to look for special characters in vi is s/Cntrl+v+m//g. To replace ^M with nothing. &lt;BR /&gt;The same search will fail if you use ^M (which is caret/circumflex/(Shift + 6).&lt;BR /&gt;Cntrl+v remains the same and the other charachters keep changing based on your search requirements. &lt;BR /&gt;&lt;BR /&gt;Hope this helps. &lt;BR /&gt;-Madhu</description>
      <pubDate>Tue, 11 Dec 2001 10:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629165#M920634</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2001-12-11T10:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Special characaters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629166#M920635</link>
      <description>Take a look at my thread regarding -f option with top. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5ee3f841489fd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5ee3f841489fd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Madhu</description>
      <pubDate>Tue, 11 Dec 2001 10:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/special-characaters/m-p/2629166#M920635</guid>
      <dc:creator>Madhu Sudhan_1</dc:creator>
      <dc:date>2001-12-11T10:58:50Z</dc:date>
    </item>
  </channel>
</rss>

