<?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>Cyme@_Blog &#187; Boucle en shell</title>
	<atom:link href="http://cymea.net/tag/boucle-en-shell/feed" rel="self" type="application/rss+xml" />
	<link>http://cymea.net</link>
	<description>Un site utilisant WordPress</description>
	<lastBuildDate>Tue, 27 Mar 2012 21:15:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Boucle en shell</title>
		<link>http://cymea.net/distribution-linux/boucle-en-shell</link>
		<comments>http://cymea.net/distribution-linux/boucle-en-shell#comments</comments>
		<pubDate>Sun, 05 Apr 2009 08:10:10 +0000</pubDate>
		<dc:creator>fdevil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Boucle en shell]]></category>

		<guid isPermaLink="false">http://cymea.net/?p=93</guid>
		<description><![CDATA[http://forum.hardware.fr/hfr/Programmation/Shell-Batch/shell-boucle-sujet_45961_1.htm En shell, exemples : i=1 while [ $i -le 100 ] do . . . . i=`expr $i + 1` done Avec bash, c&#039;est plus simlple : for (( i=1; i&#38;lt;=100; i++ )) do . . . . done Avec seq for i in `seq 1 100`; do [...] Sources : http://www.tuteurs.ens.fr/unix/shell/boucle.html#s2_]]></description>
			<content:encoded><![CDATA[<p>http://forum.hardware.fr/hfr/Programmation/Shell-Batch/shell-boucle-sujet_45961_1.htm</p>
<p>En shell, exemples :<br />
<pre><code>
i=1
while [ $i -le 100 ]
do
. . . .
i=`expr $i + 1`
done
Avec bash, c&#039;est plus simlple :
for (( i=1; i&amp;lt;=100; i++ ))
do
. . . .
done
</code></pre><br />
Avec seq<br />
<pre><code>
for i in `seq 1 100`; do [...]
</code></pre></p>
<p>Sources : <a href="http://www.tuteurs.ens.fr/unix/shell/boucle.html#s2_3">http://www.tuteurs.ens.fr/unix/shell/boucle.html#s2_3</a></p>
]]></content:encoded>
			<wfw:commentRss>http://cymea.net/distribution-linux/boucle-en-shell/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

