Re: how use bash 5.0 port

2020-09-01 Thread dan d.
Macports puts binary app. files in /opt/local/bin . The mac os uses the unix location of /bin/ for bash , that is where the default bash is found. The way to call the bash 5 version first is either to move the macports version to /bin/ or put the /opt/local/bin/ in your shell path first. Doing

Re: how use bash 5.0 port

2020-09-01 Thread Murray Eisenberg
I already had /opt/local/bin/ ahead of /bin in my PATH, but that did not fiix things. Only the change in Terminal’s Preferences, which I described in a previous reply, fixed it. > On 1 Sep2020, at 11:05 AM, dan d. wrote: > > Macports puts binary app. files in /opt/local/bin . > > The mac os

Re: how use bash 5.0 port

2020-09-01 Thread j...@tigger.ws
> On 1 Sep 2020, at 8:00 pm, macports-users-requ...@lists.macports.org wrote: > > I have always been too cautious to change the default shell on MacOS to > anything other than one that is officially provided, especially for the > root account, even if those shell versions are as old as the hi

Re: how use bash 5.0 port

2020-09-01 Thread Ryan Schmidt
On Sep 1, 2020, at 18:58, jam wrote: > On 1 Sep 2020, at 8:00 pm, macports-users-request wrote: > >> I have always been too cautious to change the default shell on MacOS to >> anything other than one that is officially provided, especially for the >> root account, even if those shell version

Re: how use bash 5.0 port

2020-09-01 Thread Dave Horsfall
On Tue, 1 Sep 2020, dan d. wrote: The way to call the bash 5 version first is either to move the macports version to /bin/ or put the /opt/local/bin/ in your shell path first. In my 40+ years of Unix experience, never overwrite system binaries; that's why we have $PATH etc. -- Dave

Re: how use bash 5.0 port

2020-09-01 Thread raf
On Wed, Sep 02, 2020 at 11:10:28AM +1000, Dave Horsfall wrote: > On Tue, 1 Sep 2020, dan d. wrote: > > > The way to call the bash 5 version first is either to move the macports > > version to /bin/ or put the /opt/local/bin/ in your shell path first. > > In my 40+ years of Unix experience, nev

Re: how use bash 5.0 port

2020-09-01 Thread Ken Cunningham
The thing to do with bash is link it statically — then it can never break. I do this on all older systems, and then copy it into /bin/bash see if you need inspiration. Ken

Re: how use bash 5.0 port

2020-09-01 Thread Bill Cole
On 1 Sep 2020, at 21:36, Ken Cunningham wrote: The thing to do with bash is link it statically — then it can never break. I do this on all older systems, and then copy it into /bin/bash If you're doing this to fix the actual serious vulnerabilities in older bash (e.g. shellshock) you should