<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://peer.st/dw/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="https://peer.st/dw/feed.php">
        <title>peer bash</title>
        <description></description>
        <link>https://peer.st/dw/</link>
        <image rdf:resource="https://peer.st/dw/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-29T16:15:52+0200</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://peer.st/dw/doku.php?id=bash:array&amp;rev=1319214535&amp;do=diff"/>
                <rdf:li rdf:resource="https://peer.st/dw/doku.php?id=bash:string_konvertieren&amp;rev=1288942550&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://peer.st/dw/lib/tpl/dokuwiki/images/favicon.ico">
        <title>peer</title>
        <link>https://peer.st/dw/</link>
        <url>https://peer.st/dw/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://peer.st/dw/doku.php?id=bash:array&amp;rev=1319214535&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-10-21T18:28:55+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash:array</title>
        <link>https://peer.st/dw/doku.php?id=bash:array&amp;rev=1319214535&amp;do=diff</link>
        <description>bash: array


PACKAGES=`cat packages.txt`
i=1
for PACKAGE in $PACKAGES
do
    array[$i]=&quot; &lt;package&gt;$PACKAGE&lt;/package&gt;&quot;
    (( i++ ))
done

anz=$(( ${#array[@]} ))
for ((i=1; i&lt;=$anz ; i++)) do
        echo ${array[$i]};
done



data1=$(cat &lt;&lt;EOF
a
b
c
EOF
)

echo &quot;$data1&quot;</description>
    </item>
    <item rdf:about="https://peer.st/dw/doku.php?id=bash:string_konvertieren&amp;rev=1288942550&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-05T08:35:50+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash:string_konvertieren</title>
        <link>https://peer.st/dw/doku.php?id=bash:string_konvertieren&amp;rev=1288942550&amp;do=diff</link>
        <description>Bash: String konvertieren

Groß-/Kleinschreibung

tr
echo $a | tr '[A-Z]' '[a-z]'
awk
echo $a | awk '{print tolower($0)}'
Bash 4.0
echo ${a,,}
To lowercase


$ string=&quot;A FEW WORDS&quot;
$ echo ${string,}
a FEW WORDS
$ echo ${string,,}
a few words
$ echo ${string,,[AEIUO]}
a FeW WoRDS

$ string=&quot;A Few Words&quot;
$ declare -l string
$ string=$string; echo $string
a few words</description>
    </item>
</rdf:RDF>
