From 11c8a47d2289858f5b943dd38daaad028413413d Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 11 Sep 2015 21:12:36 +0200 Subject: Document %last process expansion Fixes #2379 (at least the most pressing part of it). --- doc_src/index.hdr.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc_src') 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. -- cgit v1.2.3