From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7516 invoked from network); 30 Oct 1998 15:12:50 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 30 Oct 1998 15:12:50 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id KAA12794; Fri, 30 Oct 1998 10:00:19 -0500 (EST) Resent-Date: Fri, 30 Oct 1998 10:00:13 -0500 (EST) Message-Id: <199810301503.PAA23232@diamond.tao.co.uk> Subject: Re: jobs command and pipes To: oma1000@cam.ac.uk (Owen M. Astley) Date: Fri, 30 Oct 1998 15:03:57 +0000 (GMT) From: "Zefram" Cc: zsh-users@math.gatech.edu In-Reply-To: from "Owen M. Astley" at Oct 30, 98 02:36:05 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"-0SOv2.0.J73.yHTEs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1901 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Owen M. Astley wrote: >Why is it that the jobs command in zsh will not work with a pipe, although >redirecting it to a file does work? 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. -zefram