<?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 shell script to replace a char by another in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136372#M154136</link>
    <description>I would like to obtain an script that processes an input file and replaces a determined char by another one.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
    <pubDate>Thu, 04 Dec 2003 12:07:27 GMT</pubDate>
    <dc:creator>Mister_Z</dc:creator>
    <dc:date>2003-12-04T12:07:27Z</dc:date>
    <item>
      <title>shell script to replace a char by another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136372#M154136</link>
      <description>I would like to obtain an script that processes an input file and replaces a determined char by another one.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Thu, 04 Dec 2003 12:07:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136372#M154136</guid>
      <dc:creator>Mister_Z</dc:creator>
      <dc:date>2003-12-04T12:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: shell script to replace a char by another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136373#M154137</link>
      <description>I think you need to look at sed.  For example:&lt;BR /&gt;sed 's/foo/bar/' &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 04 Dec 2003 12:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136373#M154137</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-12-04T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: shell script to replace a char by another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136374#M154138</link>
      <description>sed 's/CHAR/REPLACECHAR/g' &lt;FILE_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;This is too generic a question.  You can come with more specific questions and some examples.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy&lt;/FILE_NAME&gt;</description>
      <pubDate>Thu, 04 Dec 2003 12:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136374#M154138</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-12-04T12:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: shell script to replace a char by another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136375#M154139</link>
      <description>It works!</description>
      <pubDate>Thu, 04 Dec 2003 12:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136375#M154139</guid>
      <dc:creator>Mister_Z</dc:creator>
      <dc:date>2003-12-04T12:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: shell script to replace a char by another</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136376#M154140</link>
      <description>Replace a char, difficult for me.&lt;BR /&gt;Not good at scripts/awk.&lt;BR /&gt;&lt;BR /&gt;Check man tr&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Dec 2003 12:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-to-replace-a-char-by-another/m-p/3136376#M154140</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-12-04T12:17:29Z</dc:date>
    </item>
  </channel>
</rss>

