view src/99.sh @ 9468:02576f427b4b

<oerjan> sled bin/slashlearn//7s![&].*!&& echo -n "$verb \'$key\': $(echo "$value" | sed \'s.^[/ ].\x030,04&\x0f.\')"!
author HackBot
date Thu, 27 Oct 2016 01:06:47 +0000
parents bb911493ba61
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 + \