help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying incompatible change while bash upgrade


From: Chet Ramey
Subject: Re: Identifying incompatible change while bash upgrade
Date: Wed, 17 Feb 2021 14:28:17 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 2/17/21 12:35 PM, Aviraj Cj (acj) via wrote:
Hello,

I was trying to migrate old shell scripts (running on bash-4.2) to run on bash 
5, I am seeing failures due to Compatibility related changes…

One option which I am following is to set BASH_COMPAT to older working version 
for those scripts but since final goal is to migrate the script to run on 
latest version is there an script or tool available which will identify this 
incompatible change before running…

Look at the COMPAT file from the release you're using and see if any of the
changes covered by the compatibility options are relevant.

https://tiswww.case.edu/php/chet/bash/COMPAT

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]