<?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>mcBachmann.de TechBlog &#187; virtual file</title>
	<atom:link href="http://blog.mcbachmann.de/tag/virtual-file/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mcbachmann.de</link>
	<description>Der Blog zur Website ;-)</description>
	<lastBuildDate>Wed, 11 Jan 2012 21:12:53 +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>bash: Redirect output to virtual file</title>
		<link>http://blog.mcbachmann.de/linux/bash-redirect-output-to-virtual-file</link>
		<comments>http://blog.mcbachmann.de/linux/bash-redirect-output-to-virtual-file#comments</comments>
		<pubDate>Fri, 11 Sep 2009 08:05:43 +0000</pubDate>
		<dc:creator>Sven Bachmann</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[virtual file]]></category>

		<guid isPermaLink="false">http://blog.mcbachmann.de/?p=395</guid>
		<description><![CDATA[Bash has a cool feature, it allows you to redirect the output of an application to a virtual file. With this its for example possible to fast-diff two directories. The old way would look like this: ls dir1/ > directory_1.txt ls dir2/ > directory_2.txt diff directory_1.txt directory_2.txt But with bash (and maybe some other shells) [...]]]></description>
			<content:encoded><![CDATA[<p>Bash has a cool feature, it allows you to redirect the output of an application to a virtual file. With this its for example possible to fast-diff two directories. <span id="more-395"></span></p>
<p>The old way would look like this:</p>
<blockquote><p><code>ls dir1/ > directory_1.txt<br />
ls dir2/ > directory_2.txt<br />
diff directory_1.txt directory_2.txt</code></p></blockquote>
<p>But with bash (and maybe some other shells) you can do the following:</p>
<blockquote><p><code>diff <(ls dir1/) <(ls dir2/)</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.mcbachmann.de/linux/bash-redirect-output-to-virtual-file/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

