<?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>Unix Sysadmin &#187; while loop</title>
	<atom:link href="http://www.sysadmindayph.com/blog/tag/while-loop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sysadmindayph.com/blog</link>
	<description>SysAdmin Blog, TechTips and Reviews</description>
	<lastBuildDate>Fri, 27 Jan 2012 04:36:08 +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>Used Another &#8216;For&#8230; DO&#8217; Loop</title>
		<link>http://www.sysadmindayph.com/blog/used-another-for-do-loop/</link>
		<comments>http://www.sysadmindayph.com/blog/used-another-for-do-loop/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 09:52:57 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[for loop]]></category>
		<category><![CDATA[while loop]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=81</guid>
		<description><![CDATA[The last post, was used to chmod a list of home directory. I used another application for that &#8216;for..do&#8217; loop again&#8230; it&#8217;s climbing my favorite script command list.. second only to &#8216;while&#8230;do&#8217;.. for X in `ls -last &#124; grep 2006 &#124; awk &#8216;{print $9}&#8217;` do rm -rf $x done bye bye 2006 directories!]]></description>
			<content:encoded><![CDATA[<p>The last post, was used to <a title="for..loop" href="http://www.sysadmindayph.com/blog/looping-through-a-list-of-arguments-bourne/">chmod a list of home directory</a>.</p>
<p>I used another application for that &#8216;for..do&#8217; loop again&#8230; it&#8217;s climbing my favorite script command list.. <img src='http://www.sysadmindayph.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  second only to &#8216;while&#8230;do&#8217;.. <img src='http://www.sysadmindayph.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>for X in `ls -last | grep 2006 | awk &#8216;{print $9}&#8217;`<br />
do<br />
rm -rf $x<br />
done</p>
<p>bye bye 2006 directories!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/used-another-for-do-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

