Re: defines varname { [values]... } prog...

From: Laurent Bercot <>
Date: Sat, 25 May 2024 07:40:43 +0000

>I don't understand what you mean by that; $foo/${foo} in $newfiles won't
>expand because multisubstitute is being used to expand both $foo and

  Oh. Yes, of course. I was wrong about that, sorry.

  That's an interesting workaround indeed, but it still feels like a
workaround, and I'd rather not encourage the pattern. I prefer
Eduardo's suggested solution of encoding elglob's result - but then
again, it's still the same pattern where you expand the file list
with define -s in a multisubstitute. Maybe the pattern in unavoidable.

  I'll think about it more and do *something*. Thanks for the long

Received on Sat May 25 2024 - 09:40:43 CEST

This archive was generated by hypermail 2.4.0 : Sat May 25 2024 - 09:41:11 CEST