[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: string substitution broken since 5.2
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: string substitution broken since 5.2 |
Date: |
Fri, 4 Nov 2022 09:50:03 +0100 |
On Fri, Nov 4, 2022, 08:56 Léa Gris <lea.gris@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
>
>
- Re: string substitution broken since 5.2, (continued)
- Re: string substitution broken since 5.2, Andreas Schwab, 2022/11/03
- Re: string substitution broken since 5.2, Koichi Murase, 2022/11/03
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/03
- Re: string substitution broken since 5.2, Koichi Murase, 2022/11/03
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/03
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/03
- Re: string substitution broken since 5.2, Koichi Murase, 2022/11/03
Re: string substitution broken since 5.2, Thierry B., 2022/11/03
Re: string substitution broken since 5.2, Chet Ramey, 2022/11/03
- Re: string substitution broken since 5.2, Léa Gris, 2022/11/04
- Re: string substitution broken since 5.2,
Alex fxmbsw7 Ratchev <=
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/04
- Re: string substitution broken since 5.2, Alex fxmbsw7 Ratchev, 2022/11/04
- Re: string substitution broken since 5.2, Greg Wooledge, 2022/11/04
- Re: string substitution broken since 5.2, Alex fxmbsw7 Ratchev, 2022/11/04
- Re: string substitution broken since 5.2, Chet Ramey, 2022/11/04
- Re: string substitution broken since 5.2, Alex fxmbsw7 Ratchev, 2022/11/04
- Re: string substitution broken since 5.2, Alex fxmbsw7 Ratchev, 2022/11/04
Re: string substitution broken since 5.2, Chet Ramey, 2022/11/04
Re: string substitution broken since 5.2, Martin D Kealey, 2022/11/04