On Sunday, 19 September 2021 15:25:48 AEST Alexar Pendashteh via luv-main 
wrote:
> I noticed the server is running *GNU bash, version 4.2.46(2)-release*
> Whereas I have always been on version 5.
> 
> I don't have the access to upgrade the version. So, the questions are:
> 
> 1. Is there a way to manually use bash v5 without root access?

Download the source and compile it.  Bash doesn't seem to have as many 
dependencies as I remember it having so maybe bash 5 inlined some of the code 
for things it needed.

> 2. Is it important or worth making the script compatible with bash v4?

How big is your script?  If it's a small script then changing the script will 
be easier, if it's a big/complex script that's run on other systems as well 
then maybe compiling bash will be easier.

Check whether there is still security support for the distribution in question 
and make a case for upgrading the entire server.  CentOS 7 (which includes 
that version of bash) ended "full support" on 2020-08-06, is that combined 
with CentOS going away (if it's CentOS) a reason to upgrade the server?

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

_______________________________________________
luv-main mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to