<?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 Searching and replacing string in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/searching-and-replacing-string/m-p/5242667#M676609</link>
    <description>Hi pals,&lt;BR /&gt;&lt;BR /&gt;I need search for the string 03 placed into 6th and 7th columns of the each line of a file. No all lines of the files have this condition. All lines of file must be displayed, changing just all the lines that fulfill the previous condition. Please use commands "sed" or "awk", omit perl.&lt;BR /&gt;&lt;BR /&gt;Rgds</description>
    <pubDate>Mon, 07 Jun 2010 10:29:05 GMT</pubDate>
    <dc:creator>Jose Mosquera</dc:creator>
    <dc:date>2010-06-07T10:29:05Z</dc:date>
    <item>
      <title>Searching and replacing string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/searching-and-replacing-string/m-p/5242667#M676609</link>
      <description>Hi pals,&lt;BR /&gt;&lt;BR /&gt;I need search for the string 03 placed into 6th and 7th columns of the each line of a file. No all lines of the files have this condition. All lines of file must be displayed, changing just all the lines that fulfill the previous condition. Please use commands "sed" or "awk", omit perl.&lt;BR /&gt;&lt;BR /&gt;Rgds</description>
      <pubDate>Mon, 07 Jun 2010 10:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/searching-and-replacing-string/m-p/5242667#M676609</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2010-06-07T10:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Searching and replacing string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/searching-and-replacing-string/m-p/5242668#M676610</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# sed -e 's/\(^.\{5\}\)03/\1xx/' file&lt;BR /&gt;&lt;BR /&gt;...for example, substitutes "xx" for "03" if "03" is in positions 6-7, one relative.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 07 Jun 2010 11:17:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/searching-and-replacing-string/m-p/5242668#M676610</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-06-07T11:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Searching and replacing string</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/searching-and-replacing-string/m-p/5242669#M676611</link>
      <description>James, you got it!&lt;BR /&gt;&lt;BR /&gt;Thank you very much.</description>
      <pubDate>Mon, 07 Jun 2010 13:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/searching-and-replacing-string/m-p/5242669#M676611</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2010-06-07T13:40:16Z</dc:date>
    </item>
  </channel>
</rss>

