view 99 @ 7038:a91625d539a2

<b_jonas> slashlearn trunc/The trunc and truncf functions (of C99 and C++11) are actually supported by the MS compiler (starting from the 2013), only strangely undocumented.
author HackBot
date Sun, 28 Feb 2016 14:16:18 +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 + \