Document %last process expansion

Fixes #2379 (at least the most pressing part of it).
This commit is contained in:
Fabian Homborg 2015-09-11 21:12:36 +02:00
parent b2323ca203
commit 11c8a47d22

View File

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