From 162ae3ae7f28b571db4c8b3bf5b040989a6c2245 Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 17 Dec 2002 17:31:44 +0000 Subject: Document `trap EXIT` and `trap SIGNAME`. --- bin/sh/sh.1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 3813a6c17fbe..17f260e6f190 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; -- cgit v1.3