From 5b62e604511c9c7365b56becaff998157fb8fee8 Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Tue, 9 Oct 2007 02:38:52 +0000 Subject: Merge of unposted: improve docs for $$ and $PPID. --- Doc/Zsh/params.yo | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index d48723756..959e74050 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -473,7 +473,10 @@ Same as tt(#). ) vindex($) item(tt($) )( -The process ID of this shell. +The process ID of this shell. Note that this indicates the original +shell started by invoking tt(zsh); all processes forked from the shells +without executing a new program, such as subshells started by +tt(LPAR())var(...)tt(RPAR()), substitute the same value. ) vindex(-) item(tt(-) )( @@ -609,7 +612,9 @@ The operating system, as determined at compile time. ) vindex(PPID) item(tt(PPID) )( -The process ID of the parent of the shell. +The process ID of the parent of the shell. As for tt($$), the +value indicates the parent of the original shell and does not +change in subshells. ) vindex(PWD) item(tt(PWD))( -- cgit 1.4.1