zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Parameter $! documentation bug
Date: Sat, 6 Jul 2019 21:32:43 -0700	[thread overview]
Message-ID: <CAH+w=7b5fgNrNfA9BdwiX2s1286CJPLgPvqVjbTZmpbbJqByFQ@mail.gmail.com> (raw)
In-Reply-To: <20190707001737.GC14626@zira.vinc17.org>

On Sat, Jul 6, 2019 at 5:18 PM Vincent Lefevre <vincent@vinc17.net> wrote:
>
> I assume that coproc commands are also concerned by $!.

IIRC coproc commands did not, originally, get job table entries, and
although it has been years since they began to do so, the doc for $!
probably predates that.

diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 9ad228679..9acd52f2e 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -629,7 +629,7 @@ startitem()
 vindex(!)
 item(tt(!) <S>)(
 The process ID of the last command started in the background with tt(&),
-or put into the background with the tt(bg) builtin.
+put into the background with the tt(bg) builtin, or spawned with tt(coproc).
 )
 vindex(#)
 item(tt(#) <S>)(

      reply	other threads:[~2019-07-07  4:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-07  0:17 Vincent Lefevre
2019-07-07  4:32 ` Bart Schaefer [this message]

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='CAH+w=7b5fgNrNfA9BdwiX2s1286CJPLgPvqVjbTZmpbbJqByFQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /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).