<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Loop over a set of files from the shell</title>
	<atom:link href="http://www.tech-recipes.com/rx/166/loop-over-a-set-of-files-from-the-shell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/166/loop-over-a-set-of-files-from-the-shell/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sat, 21 Nov 2009 16:14:40 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: guest</title>
		<link>http://www.tech-recipes.com/rx/166/loop-over-a-set-of-files-from-the-shell/comment-page-1/#comment-222</link>
		<dc:creator>guest</dc:creator>
		<pubDate>Fri, 25 Jun 2004 14:41:37 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-222</guid>
		<description>Possibly a bit pedantic, but to save system time (especially if using multiple times in a script) you may be better to do the following for the last part...

cat `ls -tr *.log` &gt;biglog

The cat is designed to be able to put two or more files together. 

By doing it this way, you don&#039;t need to worry about the existence or contents of biglog as you will overwrite it with the &gt; rather than using apend to &gt;&gt;</description>
		<content:encoded><![CDATA[<p>Possibly a bit pedantic, but to save system time (especially if using multiple times in a script) you may be better to do the following for the last part&#8230;</p>
<p>cat `ls -tr *.log` &gt;biglog</p>
<p>The cat is designed to be able to put two or more files together. </p>
<p>By doing it this way, you don&#8217;t need to worry about the existence or contents of biglog as you will overwrite it with the &gt; rather than using apend to &gt;&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
