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.
12 comments
[ 4.3 ms ] story [ 24.9 ms ] threadhttp://i.imgur.com/vJgKK0r.png
I'm using iTerm2, zsh and python3
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.
https://gist.github.com/sontek/1505483
The python script also supports the snowflakes piling up with the --stack command.
Stacking version: http://asciinema.org/a/6912