<?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: Delete File Lines Using Address and Patterns</title>
	<atom:link href="http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:04:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: shashank</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-143568</link>
		<dc:creator>shashank</dc:creator>
		<pubDate>Tue, 22 Nov 2011 12:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-143568</guid>
		<description>Very well explained...</description>
		<content:encoded><![CDATA[<p>Very well explained&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-143208</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 21 Nov 2011 17:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-143208</guid>
		<description>how can i delete multiple lines from a file ?

GNU sed version 4.2.1
sed &#039;/word1/,/word2/d&#039; file1 &gt; file2     works ok

but when i try more words... 
sed &#039;/word1/,/word2/,/word3/,/word4/d&#039; file1 &gt; file2
sed: -e expression #1, char 16: unknown command: `,&#039;

my question is how can i delete more words from a file .,. ?
Thanks</description>
		<content:encoded><![CDATA[<p>how can i delete multiple lines from a file ?</p>
<p>GNU sed version 4.2.1<br />
sed &#8216;/word1/,/word2/d&#8217; file1 &gt; file2     works ok</p>
<p>but when i try more words&#8230;<br />
sed &#8216;/word1/,/word2/,/word3/,/word4/d&#8217; file1 &gt; file2<br />
sed: -e expression #1, char 16: unknown command: `,&#8217;</p>
<p>my question is how can i delete more words from a file .,. ?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sid</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-142899</link>
		<dc:creator>sid</dc:creator>
		<pubDate>Sun, 20 Nov 2011 23:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-142899</guid>
		<description>Hi, How do i delete lines from second occurance of a string to end of file?</description>
		<content:encoded><![CDATA[<p>Hi, How do i delete lines from second occurance of a string to end of file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bromario</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-133232</link>
		<dc:creator>bromario</dc:creator>
		<pubDate>Tue, 18 Oct 2011 19:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-133232</guid>
		<description>How to delete last 5 lines of file</description>
		<content:encoded><![CDATA[<p>How to delete last 5 lines of file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: venkat</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-131917</link>
		<dc:creator>venkat</dc:creator>
		<pubDate>Thu, 13 Oct 2011 08:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-131917</guid>
		<description>very useful material..
thank you verymuch.

Venkat V</description>
		<content:encoded><![CDATA[<p>very useful material..<br />
thank you verymuch.</p>
<p>Venkat V</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priyesh</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-119839</link>
		<dc:creator>priyesh</dc:creator>
		<pubDate>Fri, 29 Jul 2011 07:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-119839</guid>
		<description>excellent work very useful
thanks !</description>
		<content:encoded><![CDATA[<p>excellent work very useful<br />
thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shivakumar</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-92698</link>
		<dc:creator>shivakumar</dc:creator>
		<pubDate>Wed, 16 Mar 2011 10:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-92698</guid>
		<description>Nice notes ..very helpful ..</description>
		<content:encoded><![CDATA[<p>Nice notes ..very helpful ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JAYAPRAKASH</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-51823</link>
		<dc:creator>JAYAPRAKASH</dc:creator>
		<pubDate>Thu, 01 Jul 2010 03:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-51823</guid>
		<description>Nice tutorial............Thanks</description>
		<content:encoded><![CDATA[<p>Nice tutorial&#8230;&#8230;&#8230;&#8230;Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashwini</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-50429</link>
		<dc:creator>ashwini</dc:creator>
		<pubDate>Fri, 18 Jun 2010 17:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-50429</guid>
		<description>The information about sed is very nice.</description>
		<content:encoded><![CDATA[<p>The information about sed is very nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Unix Sed Tutorial : 7 Examples for Sed Hold and Pattern Buffer Operations</title>
		<link>http://www.thegeekstuff.com/2009/09/unix-sed-tutorial-delete-file-lines-using-address-and-patterns/comment-page-1/#comment-25401</link>
		<dc:creator>Unix Sed Tutorial : 7 Examples for Sed Hold and Pattern Buffer Operations</dc:creator>
		<pubDate>Wed, 09 Dec 2009 06:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=1998#comment-25401</guid>
		<description>[...] our previous sed articles we learned &#8212;  sed printing, sed deletion, sed substitute , sed file write, sed multiple commands, sed multi-line operation, and sed [...]</description>
		<content:encoded><![CDATA[<p>[...] our previous sed articles we learned &#8212;  sed printing, sed deletion, sed substitute , sed file write, sed multiple commands, sed multi-line operation, and sed [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 15:45:51 -->
