Command expansion inside for loop

Kaz Kylheku
Wed Jul 8 17:42:31 GMT 2020

On 2020-07-08 04:47, Mark Hansen wrote:
> You got us reading three posts, so we're fully invested in your issue, 
> and then
> you don't share the answer? That's just cruel :)

I'm invested in the amusement of the whole procession, but all the while
I'm thinking that command substitution inside a for loop is basic
shell syntax from POSIX:

   $ for x in $(echo a b c) ; do echo $x ; done

so it's either a PEBKAC or some obscure version-specific Zsh problem 
nobody cares
about any more.

More information about the Cygwin mailing list