i actually hope for also replacement code that can use regex grouped data

On Fri, Feb 5, 2021 at 10:13 PM Chet Ramey <chet.ra...@case.edu> wrote:

> On 2/5/21 3:29 PM, Alex fxmbsw7 Ratchev wrote:
> > ..
> >
> > var=mynewfoo
> > printf ${var~~n[^f]+}
> >   ->
> >       myfoo
>
> So you want to remove portions of a variable's value that match a regex?
>
> > and also multiple expanders inside one statement would greatly speed up
> > processment and also fulfill old greatly coding wanting possibilities
>
> No. This has come up before; it's very hard to keep it coherent and not
> worth the implementation complexity.
>
>
> --
> ``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