Mercurial > repo
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/99.sh Sat May 07 00:37:39 2016 +0000 @@ -0,0 +1,6 @@ +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 + \ \ No newline at end of file