summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorfanf <fanf@FreeBSD.org>2002-12-17 17:31:44 +0000
committerfanf <fanf@FreeBSD.org>2002-12-17 17:31:44 +0000
commit3a97bafeebc27b3d3b0274ce6544ba332608c4cb (patch)
treef23323cabbe4b60fba6460aeb02b1a2683abe1de /bin
parent85e7906b61af65d60fca9ab830d3365dff63e86a (diff)
downloadFreeBSD-src-3a97bafeebc27b3d3b0274ce6544ba332608c4cb.zip
FreeBSD-src-3a97bafeebc27b3d3b0274ce6544ba332608c4cb.tar.gz
Document `trap EXIT` and `trap SIGNAME`.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/sh.15
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 3813a6c..17f260e 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -1790,7 +1790,10 @@ Cause the shell to parse and execute
when any specified
.Ar signal
is received.
-The signals are specified by signal number.
+The signals are specified by name or number.
+In addition, the pseudo-signal
+.Ic EXIT
+may be used to specify an action that is performed when the shell terminates.
The
.Ar action
may be null or omitted;
OpenPOWER on IntegriCloud