view src/99.sh @ 7907:bb911493ba61

<oerjan> ` mv junk/99 src/99.sh
author HackBot
date Sat, 07 May 2016 00:37:39 +0000
parents junk/99@7ed55d130d7d
children
line wrap: on
line source

b=bottle a=({no+more+$b\s,1+$b,{2..99}+$b\s}+of+beer) w=on+the+wall
x=(Take+one+down,+pass+it+around Go+to+the+store+and+buy+some+more)
for i in {99..0};{
echo "${a[i]^} $w, ${a[i]}.
${x[!i]}, ${a[i-1]} $w."
}|tr + \