quick question regarding the "script" command in Bash on a Mac OSX 10.8.4 system.
In any other bash environment on Fedora, CentOS, etc; when I use the script command it just begins recording with no issue.
However, on the Mac OS as soon as I type script it goes and starts displaying my entire file system as if I used the "tree /" command. Identical to it, actually. Once it finally stops it beings recording like usual.
It there a reason for this strange behavior? I do have a tree command installed for this OS (as it didn't come pre-installed) perhaps this is causing some issues?
Thanks in advance for your help!
type script
and see what you get?script is /usr/bin/script
.bashrc
or.profile
or something.find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'