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 done by: var=mynewfoo echo ${var/n*f/f} myfoo -- Félix Hauri - <fe...@f-hauri.ch> - http://www.f-hauri.ch