Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bug with eval, proc-subst and pipes



2013-07-21 13:23:43 +0100, Stephane Chazelas:
> 2013-07-21 10:45:25 +0100, Stephane Chazelas:
> [...]
> > To be clear, to reproduce this new one:
> > 
> > zsh -f
> > ls() command ls "$@"
> > eval 'ls -l <(echo 1) <(echo 2) <(echo 3) <(echo 4)' | cat
> > 
> > (no need for compinit here)
> [...]
> 
> Sorry, I'm confused now. I can't reproduce it so I must have
> screwed up somewhere. I'll start from scratch applying one patch
> at a time to clarify things later, but for now, it seems
> everything works fine with all the patches applied.
[...]

OK, so if we number Peter's patches on that p1 to p4, my initial
issue (compinit;eval 'paste <(:) <(:) <:) <(:)'|cat) is fixed by
p1+p2+p3, while (x()ls $@; eval 'x <(:) <(:)' | cat) is fixed by
p1+p2+p3+p4.

-- 
Stephane



Messages sorted by: Reverse Date, Date, Thread, Author