On Fri, Nov 4, 2022, 08:56 Léa Gris <lea.g...@noiraude.net> 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.
>

there is , imo , no sense to comply to outdated specs to not add few more
of the infinite base features

nevermind ..

>
> Shell has historically perpetuated legacy features to preserve the
> function of those no-longer maintained systems and associated scripts.
>
> Are there enough reasons to break this trend and stop preserving
> backward-compatibility with older scripts; by enabling new features that
> can affect the behaviour of previous code with side-effects?
>
> --
> Léa Gris
>
>

Reply via email to