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 Bernd Eggink
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

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

Re: Which Bash

2008-02-24 Thread Bob Proulx
Paul Jarc wrote: Charlse Darwin wrote: i.e. How do I get the latest to be the login shell? You could add exec bash as the last command in ~/.bash_profile. I think I would avoid doing that unless the user is aware of the sublte and complex relationships that exist there. The bash_profile is

Re: Which Bash

2008-02-24 Thread Bob Proulx
Charlse Darwin wrote: 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

Re: Which Bash

2008-02-24 Thread Paul Jarc
Charlse Darwin [EMAIL PROTECTED] wrote: i.e. How do I get the latest to be the login shell? You could add exec bash as the last command in ~/.bash_profile. paul