aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-11 21:12:36 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-09-11 21:12:36 +0200
commit11c8a47d2289858f5b943dd38daaad028413413d (patch)
tree63c8749dd7e75ea241998424f7fe260ce96496fa /doc_src
parentb2323ca203e99e281cae4ada6ccdc1799de1f5f9 (diff)
Document %last process expansion
Fixes #2379 (at least the most pressing part of it).
Diffstat (limited to 'doc_src')
-rw-r--r--doc_src/index.hdr.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in
index b3f0db92..f72aa304 100644
--- a/doc_src/index.hdr.in
+++ b/doc_src/index.hdr.in
@@ -549,6 +549,8 @@ The `%` (percent) character at the beginning of a parameter followed by a string
- If the string is the entire word `self`, the shell's PID is the result.
+- Otherwise, if the string is the entire word `last`, the last jobs PID is the result.
+
- Otherwise, if the string is the ID of a job, the result is the process group ID of the job.
- Otherwise, if any child processes match the specified string, their PIDs are the result of the expansion.