diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2014-09-26 22:21:16 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-09-26 22:27:20 +0800 |
commit | 580a7aed748ec80ac43781add5df9a7ff6d1dd45 (patch) | |
tree | bfeb35e428c1ee98a6988d51541f3f10b6b7a839 /src/dash.1 | |
parent | [MAN] 0 and EXIT both work for exit traps (diff) | |
download | dash-580a7aed748ec80ac43781add5df9a7ff6d1dd45.tar.gz dash-580a7aed748ec80ac43781add5df9a7ff6d1dd45.zip |
[MAN] Clarify "trap '' signals" syntax in manual page
When the manpage states | <action> may be null, which cause the specified signals to be ignored. it is not immediately obvious what it means for an action to be null. Clarify by explicitly referring to an empty string, as opposed to a NULL pointer or the string "null". Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/dash.1')
-rw-r--r-- | src/dash.1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dash.1 b/src/dash.1 index 577e9ee..489cea2 100644 --- a/src/dash.1 +++ b/src/dash.1 @@ -2076,7 +2076,9 @@ or .Li EXIT , the action is executed when the shell exits. .Ar action -may be null, which cause the specified signals to be ignored. +may be empty +.Li ( "''" ) , +which causes the specified signals to be ignored. With .Ar action omitted or set to `-' the specified signals are set to their default action. |