12 comments

[ 4.3 ms ] story [ 24.9 ms ] thread
Doesn't work on Mac (or maybe zsh) :(
What error did you get?
How recent are your utilities? I tried the bash version, had unexpected results - and discovered while investigating that Apple ships older versions of many CLI utilities.

E.g., under stock Mavericks bash, the command

echo $BASH_VERSION

returns 3.2.51(1)-release, while current bash is 4.2

I'm looking into homebrew as a means of getting up-to-date CLI tools.

EDIT: Added homebrew using instructions on brew.sh, it managed all dependencies. Ran brew doctor, then brew install bash, edited /etc/shells as suggested, updated Terminal startup preferences (could just as easily have used chsh, 6 of one...), all was well. Quick and easy, painless.

Standard OS X terminal, seems to work just fine for me. The --stack option running in fullscreen mode is pretty nice.
while true ; do NUM=$(( $RANDOM % 80)) ; for i in $( seq 1 $NUM ) ; do echo -n " " ; done ; echo \* ; sleep 0.1; done