<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://cli.asyd.net/home/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://cli.asyd.net/home/feed.php">
        <title>CLI Wiki shell:zsh:grammaire</title>
        <description></description>
        <link>http://cli.asyd.net/home/</link>
        <image rdf:resource="http://cli.asyd.net/home/lib/tpl/cli/images/favicon.ico" />
       <dc:date>2026-04-24T01:09:44+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://cli.asyd.net/home/shell/zsh/grammaire/tableaux?rev=1161856696"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://cli.asyd.net/home/lib/tpl/cli/images/favicon.ico">
        <title>CLI Wiki</title>
        <link>http://cli.asyd.net/home/</link>
        <url>http://cli.asyd.net/home/lib/tpl/cli/images/favicon.ico</url>
    </image>
    <item rdf:about="http://cli.asyd.net/home/shell/zsh/grammaire/tableaux?rev=1161856696">
        <dc:format>text/html</dc:format>
        <dc:date>2006-10-26T11:58:16+02:00</dc:date>
        <title>shell:zsh:grammaire:tableaux</title>
        <link>http://cli.asyd.net/home/shell/zsh/grammaire/tableaux?rev=1161856696</link>
        <description>Déclaration d'un tableau


% array=(1 2 3)
% echo $array[2] 
2


&lt;note important&gt;
Attention, les indices 0 et 1 correspondent tous les deux au premier élément du tableau !
&lt;/note&gt;

Diviser une chaîne de caractères en un tableau de mots


% string=&quot;Welcome to the real world, Neo&quot;
% words=(${=string})
% echo $words[6]
Neo</description>
    </item>
</rdf:RDF>
