<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Replace_text_between_two_lines_SED</id>
	<title>Replace text between two lines SED - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=Replace_text_between_two_lines_SED"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Replace_text_between_two_lines_SED&amp;action=history"/>
	<updated>2026-05-06T14:02:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=Replace_text_between_two_lines_SED&amp;diff=490&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;&lt;ref&gt;https://nixtricks.wordpress.com/2013/01/09/sed-delete-the-lines-lying-in-between-two-patterns/&lt;/ref&gt; *Remove the lines between the patterns. &lt;pre&gt; sed '/PATTERN-1/,/PATTE...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=Replace_text_between_two_lines_SED&amp;diff=490&amp;oldid=prev"/>
		<updated>2017-07-21T18:35:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;ref&amp;gt;https://nixtricks.wordpress.com/2013/01/09/sed-delete-the-lines-lying-in-between-two-patterns/&amp;lt;/ref&amp;gt; *Remove the lines between the patterns. &amp;lt;pre&amp;gt; sed &amp;#039;/PATTERN-1/,/PATTE...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;ref&amp;gt;https://nixtricks.wordpress.com/2013/01/09/sed-delete-the-lines-lying-in-between-two-patterns/&amp;lt;/ref&amp;gt;&lt;br /&gt;
*Remove the lines between the patterns.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sed '/PATTERN-1/,/PATTERN-2/{//!d}' input.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>