<?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>cat brain.log &#124; less &#187; redirect</title>
	<atom:link href="http://log.largevoid.com/tag/redirect/feed/" rel="self" type="application/rss+xml" />
	<link>http://log.largevoid.com</link>
	<description>Getting it down on `paper`</description>
	<lastBuildDate>Mon, 06 Feb 2012 06:23:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>STDERR redirect into STDOUT redirect into file</title>
		<link>http://log.largevoid.com/2009/10/stderr-redirect-into-stdout-redirect-into-file/</link>
		<comments>http://log.largevoid.com/2009/10/stderr-redirect-into-stdout-redirect-into-file/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 02:00:08 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Scripts, Tricks and Hacks]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://log.largevoid.com/?p=12</guid>
		<description><![CDATA[When you want to redirect stderr to a file, you have choices.  Either redirect only stderr to a file, or redirect both stderr and stdout to the same file. The right way: Redirect stderr and stdout to [[file]]: [[command]] &#62; [[file]] 2&#62;&#38;1 Redirect stderr to [[efile]] and stdout to [[file]]: [[command]] 2&#62; [[efile]] &#62; [[file]] [...]]]></description>
			<content:encoded><![CDATA[<p>When you want to redirect stderr to a file, you have choices.  Either redirect only stderr to a file, or redirect both stderr and stdout to the same file.</p>
<p><strong>The right way:</strong></p>
<p>Redirect stderr and stdout to [[file]]:</p>
<p><code>[[command]] &gt; [[file]] 2&gt;&amp;1</code></p>
<p>Redirect stderr to [[efile]] and stdout to [[file]]:</p>
<p><code>[[command]] 2&gt; [[efile]] &gt; [[file]]</code></p>
<p><strong>The wrong way:</strong></p>
<p>Doesn’t do anything useful:</p>
<p><code>[[command]] 2&gt;&amp;1 &gt; [[file]]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://log.largevoid.com/2009/10/stderr-redirect-into-stdout-redirect-into-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  log.largevoid.com/tag/redirect/feed/ ) in 0.23299 seconds, on Feb 8th, 2012 at 12:29 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 1:29 pm UTC -->
