<?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: shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105197#M444898</link>
    <description>You can use characters other than slash as the separator in sed commands:&lt;BR /&gt;&lt;BR /&gt;sed -e 's!/one/two/three/four/five/six!/one/two/three/work/three!g'&lt;BR /&gt;&lt;BR /&gt;MK</description>
    <pubDate>Thu, 24 Apr 2008 06:12:41 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2008-04-24T06:12:41Z</dc:date>
    <item>
      <title>shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105196#M444897</link>
      <description>Hi Admins,&lt;BR /&gt;&lt;BR /&gt;Please tell me how to replace &lt;BR /&gt;/one/two/three/four/five/six   to   /one/two/three/work/three  in shell script using SED&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Thomas</description>
      <pubDate>Thu, 24 Apr 2008 05:46:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105196#M444897</guid>
      <dc:creator>M.Thomas</dc:creator>
      <dc:date>2008-04-24T05:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105197#M444898</link>
      <description>You can use characters other than slash as the separator in sed commands:&lt;BR /&gt;&lt;BR /&gt;sed -e 's!/one/two/three/four/five/six!/one/two/three/work/three!g'&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 24 Apr 2008 06:12:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105197#M444898</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-04-24T06:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105198#M444899</link>
      <description>Thanks for your help&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Thomas</description>
      <pubDate>Thu, 24 Apr 2008 06:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105198#M444899</guid>
      <dc:creator>M.Thomas</dc:creator>
      <dc:date>2008-04-24T06:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105199#M444900</link>
      <description>hi Thomas,&lt;BR /&gt;&lt;BR /&gt;Correct me if i am wrong. I dont think you want to replace ONLY one occurrance of:&lt;BR /&gt;/one/two/three/four/five/six&lt;BR /&gt;&lt;BR /&gt;to:&lt;BR /&gt;/one/two/three/work/three&lt;BR /&gt;&lt;BR /&gt;it would be too easy to just:&lt;BR /&gt;&lt;BR /&gt;SRV2:home/yogeeraj&amp;gt;cat file&lt;BR /&gt;/one/two/three/four/five/six&lt;BR /&gt;SRV2:home/yogeeraj&amp;gt;sed "s/four/work/;s/six//;s/five/three/" file&lt;BR /&gt;/one/two/three/work/three/&lt;BR /&gt;SRV2:home/yogeeraj&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please post more information on your source file and target destination file.&lt;BR /&gt;&lt;BR /&gt;revert&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 24 Apr 2008 06:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script/m-p/5105199#M444900</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-04-24T06:59:44Z</dc:date>
    </item>
  </channel>
</rss>

