diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-09 02:38:52 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-09 02:38:52 +0000 |
commit | 5b62e604511c9c7365b56becaff998157fb8fee8 (patch) | |
tree | a00ec68f40d546dfa83971e1a5dc5b765a39d500 /Doc/Zsh/params.yo | |
parent | c3784137e10e79035ae00ae6e3226857806c656a (diff) | |
download | zsh-5b62e604511c9c7365b56becaff998157fb8fee8.tar.gz zsh-5b62e604511c9c7365b56becaff998157fb8fee8.tar.xz zsh-5b62e604511c9c7365b56becaff998157fb8fee8.zip |
Merge of unposted: improve docs for $$ and $PPID.
Diffstat (limited to 'Doc/Zsh/params.yo')
-rw-r--r-- | Doc/Zsh/params.yo | 9 |
1 files changed, 7 insertions, 2 deletions
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($) <S>)( -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(-) <S>)( @@ -609,7 +612,9 @@ The operating system, as determined at compile time. ) vindex(PPID) item(tt(PPID) <S>)( -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))( |