Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: jobs command and pipes
- X-seq: zsh-users 1904
- From: Stefan Monnier <monnier+lists/zsh/users/news/@tequila.cs.yale.edu>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: jobs command and pipes
- Date: 30 Oct 1998 11:14:38 -0500
- References: <Pine.OSF.3.96.981030143520.21124A-100000@xxxxxxxxxxxxxxxxxxxxxxxxx> <199810301503.PAA23232@xxxxxxxxxxxxxxxxx>
- Sender: monnier@xxxxxxxxxxxxxxxxxxx
>>>>> "Zefram" == Zefram <zefram@xxxxxxxxx> writes:
> If the jobs command is on the left hand side of a pipeline, the shell has
> to fork, and the jobs builtin runs in the forked process. This process
> is not in control of any jobs, so the jobs command has nothing to report.
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 ?
Stefan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author