User:Birgit bachler/clapping: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "notes="c c c r c c r c r c c r" for ((j=0; j<12; j++)) do for ((i=0; i<12; i++)) do echo $notes done notes=${notes:2}" "${notes::2} ...")
 
No edit summary
Line 1: Line 1:
<source lang="bash">
notes="c c c r c c r c r c c r"
notes="c c c r c c r c r c c r"
     for ((j=0; j<12; j++))
     for ((j=0; j<12; j++))
Line 8: Line 9:
     notes=${notes:2}" "${notes::2}
     notes=${notes:2}" "${notes::2}
     done
     done
</source>


<source lang="bash">
notes="c c c r c c r c r c c r"
notes="c c c r c c r c r c c r"
     for ((j=0; j<12; j++))
     for ((j=0; j<12; j++))
Line 17: Line 20:
         done
         done
     done
     done
</source>

Revision as of 12:58, 12 October 2010

notes="c c c r c c r c r c c r"
    for ((j=0; j<12; j++))
    do 
        for ((i=0; i<12; i++))
        do
        echo $notes
        done
    notes=${notes:2}" "${notes::2}
    done
notes="c c c r c c r c r c c r"
    for ((j=0; j<12; j++))
    do
        for ((i=0; i<12; i++))
        do 
        echo $notes
        done
    done