Reading the last couple of posts regarding bash version, I was wondering if I have the correct version for my system. I have a Mac Pro Intel processor, this is what I get: Freedom:~ peterhin$ $BASH_VERSION -bash: 3.2.17(1)-release: command not found Freedom:~ peterhin$ bash --version GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0) Copyright (C) 2005 Free Software Foundation, Inc.
Peter Hindrichs wrote:
Freedom:~ peterhin$ $BASH_VERSION -bash: 3.2.17(1)-release: command not found Freedom:~ peterhin$ bash --version GNU bash, version 3.2.17(1)-release (i386-apple-darwin9.0) Copyright (C) 2005 Free Software Foundation, Inc.
Seems like you are using bash from /bin/bash, that's the version that ships with Leopard. If you want to use the version of bash provided by MacPorts you would either have to change your terminal application to open /opt/local/bin/bash or set it as your login shell. Whereas the former is the safer and easier solution in my opinion. Rainer
participants (2)
-
Peter Hindrichs
-
Rainer Müller