<?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>Crossed Wires &#187; shell</title>
	<atom:link href="http://veejoe.net/blog/tag/shell/feed/" rel="self" type="application/rss+xml" />
	<link>http://veejoe.net/blog</link>
	<description>Vic's Blog</description>
	<lastBuildDate>Sat, 31 Dec 2011 13:29:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>The difference between pipe and redirection</title>
		<link>http://veejoe.net/blog/2008/12/the-difference-between-pipe-and-redirection/</link>
		<comments>http://veejoe.net/blog/2008/12/the-difference-between-pipe-and-redirection/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 00:58:29 +0000</pubDate>
		<dc:creator>Vic</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://veejoe.net/blog/?p=101</guid>
		<description><![CDATA[Newcomers to UNIX-like operating systems are often confused by the difference between the shell operations pipe and redirection. The difference is easily explained with an example, in the context of web development. The shell command echo "st=1" &#124; ./lifeswork.pl shows how a pipe is used to supply command line input to a script usually invoked [...]]]></description>
			<content:encoded><![CDATA[<p>Newcomers to UNIX-like operating systems are often confused by the difference between the shell operations <b>pipe</b> and <b>redirection</b>. The difference is easily explained with an example, in the context of web development. The shell command <code>echo "st=1" | ./lifeswork.pl</code> shows how a pipe is used to supply command line input to a script usually invoked via CGI in a web server. This allows the script to be more easily debugged by testing at the command line. The shell command <code>echo "st=1" > ./lifeswork.pl</code> shows how redirection uses command line input to overwrite a script file, destroying the file and the web developer&#39;s sanity. Hopefully this example illustrates the difference between pipe and redirect, and helps you avoid the idiotic mistake I just made.</p>
]]></content:encoded>
			<wfw:commentRss>http://veejoe.net/blog/2008/12/the-difference-between-pipe-and-redirection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

