<?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>Mon, 19 Sep 2011 16:22:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>send man page to text file</title>
		<link>http://www.handsomeplanet.com/archives/230</link>
		<comments>http://www.handsomeplanet.com/archives/230#comments</comments>
		<pubDate>Mon, 19 Sep 2011 16:22:01 +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=230</guid>
		<description><![CDATA[Printing a manpage to a text file (perhaps more portable for cross-platform or bedtime reading): generic Unix/Linux, using `col`: man rcs &#124; col -b > /tmp/man_rcs.txt These alternatives would require that you reset PAGER or MANPAGER: alternative BSD : export MANPAGER=cat man pf.conf > man_pf.conf.txt alternative BSD : export PAGER=cat man pf.conf > man_pf.conf.txt Ubuntu, [...]]]></description>
			<content:encoded><![CDATA[<p>Printing a manpage to a text file (perhaps more portable for cross-platform or bedtime reading):</p>
<p>generic Unix/Linux, using `col`:<br />
<code>man rcs | col -b > /tmp/man_rcs.txt</code></p>
<p>These alternatives would require that you reset PAGER or MANPAGER:<br />
alternative BSD :<br />
<code>export MANPAGER=cat</code><br />
<code>man pf.conf > man_pf.conf.txt</code></p>
<p>alternative BSD :<br />
<code>export PAGER=cat</code><br />
<code>man pf.conf > man_pf.conf.txt</code></p>
<p>Ubuntu, Debian, Mint, etc. allow all of these alternatives:</p>
<p><code>       -P pager, --pager=pager<br />
              Specify  which  output  pager to use.  By default, man uses pager -s.  This option overrides the $MANPAGER environment variable, which in turn overrides  the  $PAGER environment variable.  It is not used in conjunction with -f or -k.</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/230/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command line fun for linux : included utilities</title>
		<link>http://www.handsomeplanet.com/archives/226</link>
		<comments>http://www.handsomeplanet.com/archives/226#comments</comments>
		<pubDate>Thu, 13 Jan 2011 20:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.handsomeplanet.com/?p=226</guid>
		<description><![CDATA[obelix@entity:~$ info util-linux-ng]]></description>
			<content:encoded><![CDATA[<p><code> obelix@entity:~$ info util-linux-ng </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.handsomeplanet.com/archives/226/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>

