Mercurial > repo
changeset 7907:bb911493ba61
<oerjan> ` mv junk/99 src/99.sh
author | HackBot |
---|---|
date | Sat, 07 May 2016 00:37:39 +0000 |
parents | fe97d1a3806b |
children | 355ec96b89df |
files | junk/99 src/99.sh |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/junk/99 Sat May 07 00:36:39 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -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
--- /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