<?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: Delete a specific line from a text file with sed</title>
	<atom:link href="http://www.wiredrevolution.com/bash-programming/delete-a-specific-line-from-a-text-file-with-sed/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com/bash-programming/delete-a-specific-line-from-a-text-file-with-sed</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Sun, 05 Sep 2010 07:01:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan</title>
		<link>http://www.wiredrevolution.com/bash-programming/delete-a-specific-line-from-a-text-file-with-sed/comment-page-1#comment-122</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 03 Nov 2008 11:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=513#comment-122</guid>
		<description>Thanks for the comment. I have updated the article to answer your question.</description>
		<content:encoded><![CDATA[<p>Thanks for the comment. I have updated the article to answer your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bogdan Cristea</title>
		<link>http://www.wiredrevolution.com/bash-programming/delete-a-specific-line-from-a-text-file-with-sed/comment-page-1#comment-121</link>
		<dc:creator>Bogdan Cristea</dc:creator>
		<pubDate>Mon, 03 Nov 2008 09:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=513#comment-121</guid>
		<description>I need to used sed with already defined variables, e.g.
VAR=one
sed -i &#039;/$VAR/ d&#039; file.txt
The above example will not work since $VAR is not replaced by its content before sed will evaluate the pattern. 
Is there a way to do this ?</description>
		<content:encoded><![CDATA[<p>I need to used sed with already defined variables, e.g.<br />
VAR=one<br />
sed -i &#8216;/$VAR/ d&#8217; file.txt<br />
The above example will not work since $VAR is not replaced by its content before sed will evaluate the pattern.<br />
Is there a way to do this ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
