zsh-users
 help / color / mirror / code / Atom feed
From: "Zefram" <zefram@tao.co.uk>
To: oma1000@cam.ac.uk (Owen M. Astley)
Cc: zsh-users@math.gatech.edu
Subject: Re: jobs command and pipes
Date: Fri, 30 Oct 1998 15:03:57 +0000 (GMT)	[thread overview]
Message-ID: <199810301503.PAA23232@diamond.tao.co.uk> (raw)
In-Reply-To: <Pine.OSF.3.96.981030143520.21124A-100000@alpha2.poco.phy.cam.ac.uk> from "Owen M. Astley" at Oct 30, 98 02:36:05 pm

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


  reply	other threads:[~1998-10-30 15:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199810301148.LAA20596@diamond.tao.co.uk>
1998-10-30 12:43 ` zsh-3.1.5 released Geoff Wing
1998-10-30 14:36   ` jobs command and pipes Owen M. Astley
1998-10-30 15:03     ` Zefram [this message]
1998-10-30 16:14       ` Stefan Monnier
1998-10-30 17:01         ` Zefram
1998-10-30 22:14           ` Dan Nelson
1998-10-30 15:08     ` Bruce Stephens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199810301503.PAA23232@diamond.tao.co.uk \
    --to=zefram@tao.co.uk \
    --cc=oma1000@cam.ac.uk \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).