<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Unix Sed Tutorial: Find and Replace Text Inside a File Using RegEx</title>
	<atom:link href="http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 29 Jul 2010 15:54:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jimi</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18965</link>
		<dc:creator>Jimi</dc:creator>
		<pubDate>Thu, 08 Oct 2009 19:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18965</guid>
		<description>I did some googling on Example 10, and found this solution, which seems to work:

sed -n &#039;/^$/!{s/]*&gt;//g;p;}&#039; 

It&#039;s from this site: 

http://www.unix.com/linux/45584-how-remove-only-html-tags-inside-file.html</description>
		<content:encoded><![CDATA[<p>I did some googling on Example 10, and found this solution, which seems to work:</p>
<p>sed -n &#8216;/^$/!{s/]*&gt;//g;p;}&#8217; </p>
<p>It&#8217;s from this site: </p>
<p><a href="http://www.unix.com/linux/45584-how-remove-only-html-tags-inside-file.html" rel="nofollow">http://www.unix.com/linux/45584-how-remove-only-html-tags-inside-file.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Rhodes</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18407</link>
		<dc:creator>Marcus Rhodes</dc:creator>
		<pubDate>Fri, 02 Oct 2009 19:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18407</guid>
		<description>Hmmm... works on Ubuntu, though the filenames need padding, but has no effect on AIX.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; works on Ubuntu, though the filenames need padding, but has no effect on AIX.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramesh Natarajan</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18394</link>
		<dc:creator>Ramesh Natarajan</dc:creator>
		<pubDate>Fri, 02 Oct 2009 16:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18394</guid>
		<description>@Paul,

Print Friendly option is implemented. You&#039;ll see this at the bottom of all articles. Thanks.</description>
		<content:encoded><![CDATA[<p>@Paul,</p>
<p>Print Friendly option is implemented. You&#8217;ll see this at the bottom of all articles. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Destillat KW40-2009 &#124; duetsch.info - GNU/Linux, Open Source, Softwareentwicklung, Selbstmanagement, Vim ...</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18366</link>
		<dc:creator>Destillat KW40-2009 &#124; duetsch.info - GNU/Linux, Open Source, Softwareentwicklung, Selbstmanagement, Vim ...</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18366</guid>
		<description>[...] Unix Sed Tutorial: Find and Replace Text Inside a File Using RegEx [...]</description>
		<content:encoded><![CDATA[<p>[...] Unix Sed Tutorial: Find and Replace Text Inside a File Using RegEx [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nasrin</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18286</link>
		<dc:creator>Nasrin</dc:creator>
		<pubDate>Thu, 01 Oct 2009 14:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18286</guid>
		<description>@ Sasikala

$ sed -e ’s/]*&gt;//g’
bash: [^: No such file or directory

this also is not working :(</description>
		<content:encoded><![CDATA[<p>@ Sasikala</p>
<p>$ sed -e ’s/]*&gt;//g’<br />
bash: [^: No such file or directory</p>
<p>this also is not working <img src='http://www.thegeekstuff.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amksep</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18263</link>
		<dc:creator>amksep</dc:creator>
		<pubDate>Thu, 01 Oct 2009 07:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18263</guid>
		<description>sorry you are  right  Jimi.</description>
		<content:encoded><![CDATA[<p>sorry you are  right  Jimi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amksep</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18262</link>
		<dc:creator>amksep</dc:creator>
		<pubDate>Thu, 01 Oct 2009 07:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18262</guid>
		<description>for example 10 i think the right syntax is
sed -e &#039;s/]*&gt;//g&#039;</description>
		<content:encoded><![CDATA[<p>for example 10 i think the right syntax is<br />
sed -e &#8217;s/]*&gt;//g&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sasikala</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18251</link>
		<dc:creator>Sasikala</dc:creator>
		<pubDate>Thu, 01 Oct 2009 05:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18251</guid>
		<description>
@Marcus Rhodes,

Hope this helps, 
$ ls -al The\ Geek\ Stuff &#124;  sed -e &#039;s/\(\([^ ]* \+\)\{8\}\)\(.*\)$/\3 \1/g&#039;
The Geek Stuff -rw-r--r-- 1 user group 0 Sep 30 21:50

@Jimi, 

Thanks for catching the typo.
Example: 10 command should be 
$ sed -e &#039;s/&lt;[^&gt;]*&gt;//g&#039;
Its for removing simple html tags.
</description>
		<content:encoded><![CDATA[<p>@Marcus Rhodes,</p>
<p>Hope this helps,<br />
$ ls -al The\ Geek\ Stuff |  sed -e &#8217;s/\(\([^ ]* \+\)\{8\}\)\(.*\)$/\3 \1/g&#8217;<br />
The Geek Stuff -rw-r&#8211;r&#8211; 1 user group 0 Sep 30 21:50</p>
<p>@Jimi, </p>
<p>Thanks for catching the typo.<br />
Example: 10 command should be<br />
$ sed -e &#8217;s/&lt;[^&gt;]*&gt;//g&#8217;<br />
Its for removing simple html tags.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danaville &#187; Blog Archive &#187; unix</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18249</link>
		<dc:creator>Danaville &#187; Blog Archive &#187; unix</dc:creator>
		<pubDate>Thu, 01 Oct 2009 04:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18249</guid>
		<description>[...]  unix Sed Tutorial: Find and Replace Text Inside a File Using RegEx  This article is part of on-going unix Sed Tutorial series. In previous articles, we discussed about sed print operation and sed delete operation. In this. [...]</description>
		<content:encoded><![CDATA[<p>[...]  unix Sed Tutorial: Find and Replace Text Inside a File Using RegEx  This article is part of on-going unix Sed Tutorial series. In previous articles, we discussed about sed print operation and sed delete operation. In this. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimi</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-replace-text-inside-a-file-using-substitute-command/comment-page-1/#comment-18211</link>
		<dc:creator>Jimi</dc:creator>
		<pubDate>Wed, 30 Sep 2009 19:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=2135#comment-18211</guid>
		<description>Hi,

there seems to be some typo in example 10. I am getting this output line, which obviously is not what you intented:

This &lt;b is &lt;/b an &lt;iexample&lt;/i

I could not come up with the correct version myself. Can you help?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>there seems to be some typo in example 10. I am getting this output line, which obviously is not what you intented:</p>
<p>This &lt;b is &lt;/b an &lt;iexample&lt;/i</p>
<p>I could not come up with the correct version myself. Can you help?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
