<?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 Command help . . . in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sed-command-help/m-p/5102791#M90949</link>
    <description>Hi Gurus,&lt;BR /&gt;       I am very new with sed &amp;amp; awk command,&lt;BR /&gt;I want to replace "/usr/local/bin/scandir"  with "/tmp/abc". how can i replace it. i have used the following steps but then also it is not working.&lt;BR /&gt;       Please suggest me. &lt;BR /&gt;&lt;BR /&gt;x=/usr/local/bin/scandir&lt;BR /&gt;y=/tmp/abc&lt;BR /&gt;sed 's/'$x'/'$y'/' scan.sh &amp;gt; scan.sh.tmp&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Piyush Mathiya</description>
    <pubDate>Fri, 11 Apr 2008 01:55:26 GMT</pubDate>
    <dc:creator>piyush mathiya</dc:creator>
    <dc:date>2008-04-11T01:55:26Z</dc:date>
    <item>
      <title>Sed Command help . . .</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sed-command-help/m-p/5102791#M90949</link>
      <description>Hi Gurus,&lt;BR /&gt;       I am very new with sed &amp;amp; awk command,&lt;BR /&gt;I want to replace "/usr/local/bin/scandir"  with "/tmp/abc". how can i replace it. i have used the following steps but then also it is not working.&lt;BR /&gt;       Please suggest me. &lt;BR /&gt;&lt;BR /&gt;x=/usr/local/bin/scandir&lt;BR /&gt;y=/tmp/abc&lt;BR /&gt;sed 's/'$x'/'$y'/' scan.sh &amp;gt; scan.sh.tmp&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Piyush Mathiya</description>
      <pubDate>Fri, 11 Apr 2008 01:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sed-command-help/m-p/5102791#M90949</guid>
      <dc:creator>piyush mathiya</dc:creator>
      <dc:date>2008-04-11T01:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sed Command help . . .</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sed-command-help/m-p/5102792#M90950</link>
      <description>&lt;!--!*#--&gt;dyi # x='/usr/local/bin/scandir'&lt;BR /&gt;dyi # y='/tmp/abc'&lt;BR /&gt;dyi # echo 'ABC/usr/local/bin/scandir/DEF' | &lt;BR /&gt;sed -e "s|$x|$y|"&lt;BR /&gt;ABC/tmp/abc/DEF&lt;BR /&gt;&lt;BR /&gt;You don't _need_ to use "/" in the sed "s"&lt;BR /&gt;command, and it's hard to make it work when&lt;BR /&gt;your strings contain "/".</description>
      <pubDate>Fri, 11 Apr 2008 02:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sed-command-help/m-p/5102792#M90950</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-04-11T02:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sed Command help . . .</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sed-command-help/m-p/5102793#M90951</link>
      <description>Yes Men it is working . . . &lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 11 Apr 2008 02:28:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sed-command-help/m-p/5102793#M90951</guid>
      <dc:creator>piyush mathiya</dc:creator>
      <dc:date>2008-04-11T02:28:27Z</dc:date>
    </item>
  </channel>
</rss>

