zsh-users
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier+lists/zsh/users/news/@tequila.cs.yale.edu>
To: zsh-users@math.gatech.edu
Subject: Re: jobs command and pipes
Date: 30 Oct 1998 11:14:38 -0500	[thread overview]
Message-ID: <5lemrqrpqp.fsf@tequila.cs.yale.edu> (raw)
In-Reply-To: <199810301503.PAA23232@diamond.tao.co.uk>

>>>>> "Zefram" == Zefram  <zefram@tao.co.uk> 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


  reply	other threads:[~1998-10-30 16:18 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
1998-10-30 16:14       ` Stefan Monnier [this message]
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=5lemrqrpqp.fsf@tequila.cs.yale.edu \
    --to=monnier+lists/zsh/users/news/@tequila.cs.yale.edu \
    --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).