view 99 @ 7000:67b2f6d74bde

<shachaf> le/rn weather/lambdabot: ?? (?metar CYUL) \\ (?metar ENVA) \\ (?metar ESSB) \\ (?metar KOAK)
author HackBot
date Wed, 24 Feb 2016 23:11:44 +0000
parents 4685c5cd6ab6
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 + \