comparison 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
comparison
equal deleted inserted replaced
7906:fe97d1a3806b 7907:bb911493ba61
1 b=bottle a=({no+more+$b\s,1+$b,{2..99}+$b\s}+of+beer) w=on+the+wall
2 x=(Take+one+down,+pass+it+around Go+to+the+store+and+buy+some+more)
3 for i in {99..0};{
4 echo "${a[i]^} $w, ${a[i]}.
5 ${x[!i]}, ${a[i-1]} $w."
6 }|tr + \