<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://knowledge.pinon-hebert.fr/mediawiki/index.php?action=history&amp;feed=atom&amp;title=For_in_bash</id>
	<title>For in bash - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://knowledge.pinon-hebert.fr/mediawiki/index.php?action=history&amp;feed=atom&amp;title=For_in_bash"/>
	<link rel="alternate" type="text/html" href="https://knowledge.pinon-hebert.fr/mediawiki/index.php?title=For_in_bash&amp;action=history"/>
	<updated>2026-05-19T21:47:08Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://knowledge.pinon-hebert.fr/mediawiki/index.php?title=For_in_bash&amp;diff=1898&amp;oldid=prev</id>
		<title>Jpinon : Page créée avec « Un for classique itère sur une liste&lt;syntaxhighlight lang=&quot;bash&quot;&gt; for i in 0 1 2 3 4 5 6 7  do   tput setaf $i  echo -n &quot;# &quot;  done &lt;/syntaxhighlight&gt;Donne bien un exemple des 8 couleurs primaires.  Mais si on voulait les 256 couleurs de &quot;tput longname = xterm with 256 colors&quot;&lt;syntaxhighlight lang=&quot;bash&quot;&gt; for i in {0..255} do  tput   setaf $i  echo -n &quot;#&quot; done &lt;/syntaxhighlight&gt;Ho que c&#039;est joli! »</title>
		<link rel="alternate" type="text/html" href="https://knowledge.pinon-hebert.fr/mediawiki/index.php?title=For_in_bash&amp;diff=1898&amp;oldid=prev"/>
		<updated>2026-03-16T17:20:03Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « Un for classique itère sur une liste&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; for i in 0 1 2 3 4 5 6 7  do   tput setaf $i  echo -n &amp;quot;# &amp;quot;  done &amp;lt;/syntaxhighlight&amp;gt;Donne bien un exemple des 8 couleurs primaires.  Mais si on voulait les 256 couleurs de &amp;quot;tput longname = xterm with 256 colors&amp;quot;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt; for i in {0..255} do  tput   setaf $i  echo -n &amp;quot;#&amp;quot; done &amp;lt;/syntaxhighlight&amp;gt;Ho que c&amp;#039;est joli! »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Un for classique itère sur une liste&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
for i in 0 1 2 3 4 5 6 7&lt;br /&gt;
 do &lt;br /&gt;
 tput setaf $i&lt;br /&gt;
 echo -n &amp;quot;# &amp;quot; &lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Donne bien un exemple des 8 couleurs primaires.&lt;br /&gt;
&lt;br /&gt;
Mais si on voulait les 256 couleurs de &amp;quot;tput longname = xterm with 256 colors&amp;quot;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
for i in {0..255}&lt;br /&gt;
do&lt;br /&gt;
 tput &lt;br /&gt;
 setaf $i&lt;br /&gt;
 echo -n &amp;quot;#&amp;quot;&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;Ho que c&amp;#039;est joli!&lt;/div&gt;</summary>
		<author><name>Jpinon</name></author>
	</entry>
</feed>