<?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 sed script to replace string? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-script-to-replace-string/m-p/2503237#M883444</link>
    <description>Hi,&lt;BR /&gt;Can someone solve a trivial puzzle that has been annoying me for a while.&lt;BR /&gt;I just need to search/replace string1 (variable length) in  "......... (INITIAL string1 string2 ........."&lt;BR /&gt;I have:&lt;BR /&gt;sed -e 's/\((INITIAL \)\(.* \)\(.*\)/\1newstring\3/' but cannot remember how to pattern match on "any no of chars except " " instead of .*&lt;BR /&gt;Cheers&lt;BR /&gt;Ian</description>
    <pubDate>Fri, 09 Mar 2001 10:27:24 GMT</pubDate>
    <dc:creator>Ian McClement</dc:creator>
    <dc:date>2001-03-09T10:27:24Z</dc:date>
    <item>
      <title>sed script to replace string?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-script-to-replace-string/m-p/2503237#M883444</link>
      <description>Hi,&lt;BR /&gt;Can someone solve a trivial puzzle that has been annoying me for a while.&lt;BR /&gt;I just need to search/replace string1 (variable length) in  "......... (INITIAL string1 string2 ........."&lt;BR /&gt;I have:&lt;BR /&gt;sed -e 's/\((INITIAL \)\(.* \)\(.*\)/\1newstring\3/' but cannot remember how to pattern match on "any no of chars except " " instead of .*&lt;BR /&gt;Cheers&lt;BR /&gt;Ian</description>
      <pubDate>Fri, 09 Mar 2001 10:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-script-to-replace-string/m-p/2503237#M883444</guid>
      <dc:creator>Ian McClement</dc:creator>
      <dc:date>2001-03-09T10:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: sed script to replace string?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-script-to-replace-string/m-p/2503238#M883445</link>
      <description>[^ ]*&lt;BR /&gt;The up arrow in in square backets means match everything except whats in the square brackets.&lt;BR /&gt;&lt;BR /&gt;Thus this will match any number of non-space characters.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Mar 2001 15:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-script-to-replace-string/m-p/2503238#M883445</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2001-03-09T15:30:38Z</dc:date>
    </item>
  </channel>
</rss>

