99 bottles of beer script fun...espeak of course!
|
| Author | Content |
|---|---|
| mooneypilot Nov 06, 2010 8:46 PM EDT |
Scott's post about scripting fun (http://www.linuxplanet.com/linuxplanet/tutorials/7216/1/) using "99 bottles of beer" to learn from is great...but
I couldnt resist substituting espeak ....here is the old script. x="bottles of beer";y="on the wall";for b in {99..1};do echo "$b $x $y, $b $x. Take one down pass it around, $(($b-1)) $x $y"; sleep 3;done and the improved script... :-) x="bottles of beer";y="on the wall";for b in {99..1};do espeak "$b $x $y, $b $x. Take one down pass it around, $(($b-1)) $x $y"; sleep 3;done |
Post a reply to this thread:
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help
Sign up and post (it is free) or Log in and post
