On 11/4/22 3:56 AM, Léa Gris wrote:
Le 03/11/2022 à 19:50, Chet Ramey écrivait :
The option is enabled by default. If you want to restore the previous
behavior, add `shopt -u patsub_replacement'.

Having it enabled by default is not good, because it introduces side-effects for existing scripts.

In my experience, it doesn't matter when you flip that switch. As soon as
you change something, people will complain.

The question is what should have higher priority: useful new features or
backwards compatibility. In this case, I took the former.

Shell has historically perpetuated legacy features to preserve the function of those no-longer maintained systems and associated scripts.

Why are "no-longer-maintained systems" upgrading software? They're
essentially frozen in amber.

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


Reply via email to