diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2021-08-26 09:46:39 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2021-08-26 09:46:39 +0100 |
commit | 0a80579ed18b4004a99b5dc062ce874c0bdc3201 (patch) | |
tree | cb10342377e88c80e7f6dae58d1945f49be6501b /Doc/Zsh/grammar.yo | |
parent | 4a9437317fd374e983934d5b18c7d1d6ee041645 (diff) | |
download | zsh-0a80579ed18b4004a99b5dc062ce874c0bdc3201.tar.gz zsh-0a80579ed18b4004a99b5dc062ce874c0bdc3201.tar.xz zsh-0a80579ed18b4004a99b5dc062ce874c0bdc3201.zip |
49307 with doc update: POSIX_TRAPS fix.
With POSIX_TRAPS set, an ignored signal stays ignored when entering a subshell.
Diffstat (limited to 'Doc/Zsh/grammar.yo')
-rw-r--r-- | Doc/Zsh/grammar.yo | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo index 2eb2018d2..f8f4ada86 100644 --- a/Doc/Zsh/grammar.yo +++ b/Doc/Zsh/grammar.yo @@ -288,7 +288,9 @@ for each selection until a break or end-of-file is encountered. cindex(subshell) item(tt(LPAR()) var(list) tt(RPAR()))( Execute var(list) in a subshell. Traps set by the tt(trap) builtin -are reset to their default values while executing var(list). +are reset to their default values while executing var(list); an +exception is that ignored signals will continue to be ignored +if the option tt(POSIXTRAPS) is set. ) item(tt({) var(list) tt(}))( Execute var(list). |