Which Bash

2008-02-24 Thread Charlse Darwin

$ echo $BASH_VERSION
2.05b.0(1)-release
$ bash --version
GNU bash, version 3.2.33(1)-release (powerpc-apple-darwin8.11.0)
Copyright (C) 2007 Free Software Foundation, Inc.
$ which bash
/opt/local/bin/bash
$
# Which bash is being used by the system; 3.2.33(1)-release or 2.05b.0 
(1)-release?





Re: Which Bash

2008-02-24 Thread Charlse Darwin
There are indeed two different versions installed. I have installed  
the 3.2.33(1)-release version via macports. 2.05b.0(1)-release comes  
with my OS. I guess my question is how do I get


$ echo $BASH_VERSION
to return
3.2.33(1)-release

i.e. How do I get the latest to be the login shell?

On Feb 24, 2008, at 7:56 AM, Bernd Eggink wrote:


Charlse Darwin schrieb:

$ echo $BASH_VERSION
2.05b.0(1)-release
$ bash --version
GNU bash, version 3.2.33(1)-release (powerpc-apple-darwin8.11.0)
Copyright (C) 2007 Free Software Foundation, Inc.
$ which bash
/opt/local/bin/bash
$
# Which bash is being used by the system; 3.2.33(1)-release or  
2.05b.0(1)-release?


Looks like there are at least 2 versions on your system: Your login  
shell is probably bash-2.05b, while /opt/local/bin/bash (the latest  
version) is found via $PATH. Check your account data and PATH  
setting to verify it.


Regards,
Bernd

--
Bernd Eggink
[EMAIL PROTECTED]
http://sudrala.de