<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HandsomePlanet &#187; unix</title>
	<atom:link href="http://www.handsomeplanet.com/archives/tag/unix/feed" rel="self" type="application/rss+xml" />
	<link>http://www.handsomeplanet.com</link>
	<description>technology and other perplexities</description>
	<lastBuildDate>Sun, 05 Sep 2010 02:26:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>linux/Unix tools for multiline grep</title>
		<link>http://www.handsomeplanet.com/archives/116</link>
		<comments>http://www.handsomeplanet.com/archives/116#comments</comments>
		<pubDate>Wed, 02 Dec 2009 17:16:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=116</guid>
		<description><![CDATA[grep -A 2 SearchString # find and return SearchString and the two lines after the line that matches grep -B 3 SearchString # find and return SearchString and the three lines before the line that matches also, pcregrep pcregrep -M &#8216;a\nb&#8217; files&#8230;]]></description>
			<content:encoded><![CDATA[<p> grep -A 2 SearchString <file.txt>  # find and return SearchString and the two lines after the line that matches<br />
 grep -B 3 SearchString <file.txt>  # find and return SearchString and the three lines before the line that matches</p>
<p>also,<br />
pcregrep<br />
    pcregrep -M &#8216;a\nb&#8217; files&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/116/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>redirecting standard error (stderr) and standard output (stdout) to a file</title>
		<link>http://www.handsomeplanet.com/archives/21</link>
		<comments>http://www.handsomeplanet.com/archives/21#comments</comments>
		<pubDate>Sat, 23 May 2009 22:37:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=21</guid>
		<description><![CDATA[Capturing both errors and normal list output from ls, with &#8220;long&#8221; and recursive options set,  to a file called /tmp/allout : ls -lR &#62; /tmp/allout 2&#62;&#38;1]]></description>
			<content:encoded><![CDATA[<p>Capturing both errors and normal list output from ls, with &#8220;long&#8221; and recursive options set,  to a file called /tmp/allout :</p>
<p>ls -lR &gt; /tmp/allout 2&gt;&amp;1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/21/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
