On Fri, Feb 05, 2021 at 09:29:49PM +0100, Alex fxmbsw7 Ratchev wrote:
> ..
>
> var=mynewfoo
> printf ${var~~n[^f]+}
> ->
> myfoo
>
> and also multiple expanders inside one statement would greatly speed up
> processment and also fulfill old greatly coding wanting possibilities
This could be
i actually hope for also replacement code that can use regex grouped data
On Fri, Feb 5, 2021 at 10:13 PM Chet Ramey 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 vari
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 codi
..
var=mynewfoo
printf ${var~~n[^f]+}
->
myfoo
and also multiple expanders inside one statement would greatly speed up
processment and also fulfill old greatly coding wanting possibilities
thanks