Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] In reference to patch 39815, about (z) flag and $( parse error
Spend some time on this (after debugging whole thing before). Following parses correctly with (z):
asmcmds+=(${(o)$(ls -1 | perl -alne 'echo foo')
})
dbpkgs+=(${(fo@)$(pacman -Qq)})
following doesn't:
asmcmds+=(${(o)$(ls -1 | perl -alne 'echo foo'
)})
dbpkgs+=(${(fo@)$(pacman -Qq)})
And looking further, it's about ")" being at the same line as $(, i.e. this doesn't parse with (z):
$(ls -1 | perl -alne 'echo foo'
)
dbpkgs+=(${(fo@)$(pacman -Qq)})
(last line to test if one gets following tokens or just text).
--
Sebastian Gniazdowski
psprint /at/ zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author