zsh-workers
 help / color / mirror / code / Atom feed
* Parameter $! documentation bug
@ 2019-07-07  0:17 Vincent Lefevre
  2019-07-07  4:32 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Vincent Lefevre @ 2019-07-07  0:17 UTC (permalink / raw)
  To: zsh-workers

The zshparam(1) man page says:

    ! <S>  The process ID of the last command started in the background
           with &, or put into the background with the bg builtin.

but

zira% sleep 10 &
[1] 20475
zira% coproc sleep 10
[2] 20478
zira% echo $!
20478

I assume that coproc commands are also concerned by $!.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-07  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-07  0:17 Parameter $! documentation bug Vincent Lefevre
2019-07-07  4:32 ` Bart Schaefer

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).