<?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: Bulk Editing Text Files</title>
	<atom:link href="http://www.thelinuxblog.com/bulk-editing-text-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelinuxblog.com/bulk-editing-text-files/</link>
	<description>The Linux Blog, General Linux, Shell Scripts</description>
	<lastBuildDate>Fri, 03 Feb 2012 06:36:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: TheLinuxBlog.com</title>
		<link>http://www.thelinuxblog.com/bulk-editing-text-files/comment-page-1/#comment-2933</link>
		<dc:creator>TheLinuxBlog.com</dc:creator>
		<pubDate>Tue, 08 Dec 2009 16:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.thelinuxblog.com/bulk-editing-text-files/#comment-2933</guid>
		<description>@XXX fair enough, next time I need to do this, I&#039;ll have to try and work your suggestions in.</description>
		<content:encoded><![CDATA[<p>@XXX fair enough, next time I need to do this, I&#8217;ll have to try and work your suggestions in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xxx</title>
		<link>http://www.thelinuxblog.com/bulk-editing-text-files/comment-page-1/#comment-2931</link>
		<dc:creator>xxx</dc:creator>
		<pubDate>Tue, 08 Dec 2009 10:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.thelinuxblog.com/bulk-editing-text-files/#comment-2931</guid>
		<description>You don&#039;t need to pass &quot;-n&quot; to grep (since you&#039;re getting rid of anything but the file names). And if you pass &quot;-l&quot; (again, to grep) you avoid invoking the cut and the uniq...</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to pass &#8220;-n&#8221; to grep (since you&#8217;re getting rid of anything but the file names). And if you pass &#8220;-l&#8221; (again, to grep) you avoid invoking the cut and the uniq&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyboon</title>
		<link>http://www.thelinuxblog.com/bulk-editing-text-files/comment-page-1/#comment-2362</link>
		<dc:creator>tyboon</dc:creator>
		<pubDate>Sun, 24 May 2009 21:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.thelinuxblog.com/bulk-editing-text-files/#comment-2362</guid>
		<description>Hello, 
Another solution to compute the substitution with sed is to use the -i option (in place) :

grep function\_name * -n &#124; cut -d : -f 1 &#124; uniq &#124; while read i; sed -i.bak ’s/function_name/new_function_name/g’ $i; done;

Moreover, it automically backups your original files with a .bak extension

Thanks a lot for your blog BTW</description>
		<content:encoded><![CDATA[<p>Hello,<br />
Another solution to compute the substitution with sed is to use the -i option (in place) :</p>
<p>grep function\_name * -n | cut -d : -f 1 | uniq | while read i; sed -i.bak ’s/function_name/new_function_name/g’ $i; done;</p>
<p>Moreover, it automically backups your original files with a .bak extension</p>
<p>Thanks a lot for your blog BTW</p>
]]></content:encoded>
	</item>
</channel>
</rss>

