one bottle of beer on the wall, cold bottle of beer...!
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for:
(g=echo;s=s;n="o more";o="bottle";e="of beer";a="Take one down and pass it around";w="on the wall";for ((i=99;i>0;i--));do [ $i == 1 ]&&unset s;$g -n "$i $o$s $e $w, $i $o$s $e. $a, `[ $[i-1] != 0 ]&&$g $[i-1]||$g "n$n"` $o`[ $i != 2 ]&&$g s` $e $w. ";done;$g -ne "N$n ${o}s $e $w, n$n ${o}s $e. Go to the store and buy some more, 99 ${o}s $e $w.")|espeak -v english -s 140
echo {99..1}" bottles...
say -v Agnes "hello world"
say -v Kathy "hello world"
say -v Princess "hello world"
say -v Vicki "hello world"
say -v Victoria "hello world"
Male Voicessay -v Bruce "hello world"
say -v Fred "hello world"
say -v Junior "hello world"
say -v Ralph "hello world"
Novelty Voicessay -v Albert "hello world"
say -v "Bad News" "hello world"
say -v Bahh "hello world"
say -v Bells "hello world"
say -v Boing "hello world"
say -v Bubbles "hello world"
say -v Cellos "hello world"
say -v Deranged "hello world"
say -v "Good News" "hello world"
say -v Hysterical "hello world"
say -v "Pipe Organ" "hello world"
say -v Trinoids "hello world"
say -v Whisper "hello world"
say -v Zarvox "hello world"