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

Re: jobs command and pipes



In the last episode (Oct 30), Zefram said:
> Stefan Monnier wrote:
> >Now the question is:  why "on the left hand side" rather the other ?
> >Zsh isn't particularly lean and mean, os mayb eit makes sense to
> >offer the choice so that "jobs | something" can work (and so that we
> >can choose which process' exit status will be used for the whole
> >pipe's exit status ?
> 
> We almost have that already.  "jobs >>(tr a-z A-Z)" works, except
> that it doesn't wait for the tr to terminate.  Perhaps that should be
> changed.

If they're treated like background jobs, should "wait" wait for them to
finish?  Should "jobs" display them?  I vote for treating them like
pipes.

	-Dan Nelson
	dnelson@xxxxxxxxxxxx



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