From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8192 invoked from network); 30 Oct 1998 16:18:50 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 30 Oct 1998 16:18:50 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id LAA16776; Fri, 30 Oct 1998 11:11:05 -0500 (EST) Resent-Date: Fri, 30 Oct 1998 11:10:59 -0500 (EST) To: zsh-users@math.gatech.edu Sender: monnier@tequila.cs.yale.edu From: Stefan Monnier Newsgroups: lists.zsh.users Subject: Re: jobs command and pipes References: <199810301503.PAA23232@diamond.tao.co.uk> Date: 30 Oct 1998 11:14:38 -0500 Message-ID: <5lemrqrpqp.fsf@tequila.cs.yale.edu> X-Newsreader: Gnus v5.5/Emacs 20.3 Path: tequila.cs.yale.edu NNTP-Posting-Host: tequila.cs.yale.edu X-Trace: 30 Oct 1998 11:14:38 -0500, tequila.cs.yale.edu Resent-Message-ID: <"Ckq0x3.0.A54.JKUEs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1904 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >>>>> "Zefram" == Zefram 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