Old MacDonald by McBusLuck

c=(moo baa quack oink)
x=E-I-E-I-O.
h=here
a="Old MacDonald had a farm, $x
And on his farm he had a %s, $x
"
eval \# 'echo
printf "$a" '{cow,sheep,duck,pig}'
b="With a $c-$c $h, and a $c-$c t$h.
Here a $c, t$h a $c, everyw$h a $c-$c.
${b+A}${b#With a}"
c=(${c[@]:1})
echo "${b// o/n o}${a::36}"
'

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page