[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
add what a jobspec of just plain "%" means to the manual
From: |
Dan Jacobson |
Subject: |
add what a jobspec of just plain "%" means to the manual |
Date: |
23 Feb 2002 11:58:18 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
The manual doesn't seem to say what a jobspec of just "%" means. It
only mentions % with some other chars attached to its back. So, I'd
explain what jobspec of plain "%" refers to, lest the user think it
will always refer to the latest background job or something.
$ sh -c 'trap echo\ hi 0;sleep 44'&
[3] 3923
$ kill %
[2]+ Terminated less tmp/bash-man
$ jobs
[1]+ Stopped TERM=vt100 lynx
[3]- Running sh -c 'trap echo\ hi 0;sleep 44' &
"kill %", unexpectedly for me at least, killed job 2 here.
--
http://www.geocities.com/jidanni/ Taiwan(04)25854780
- add what a jobspec of just plain "%" means to the manual,
Dan Jacobson <=