Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux Compiler: gcc -I/usr/src/packages/BUILD/bash-3.0 -L/usr/src/packages/BUILD/bash-3.0/../readline-5.0 Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux' -DCONF_MACHTYPE='x86_64-suse-linux' -DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -fmessage-length=0 -Wall -g -D_GNU_SOURCE -Wall -pipe -g -fbranch-probabilities uname output: Linux hammer 2.6.11.4-20a-default #1 Wed Mar 23 21:52:37 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-suse-linux
Bash Version: 3.0 Patch Level: 16 Release Status: release Description: man bash(1) says: trap [-lp] [[arg] sigspec ...] trap says: trap: usage: trap [-lp] [arg signal_spec ...] Repeat-By: Add "trap EXIT" to script. Fix: --- doc/bash.1 +++ doc/bash.1 @@ -8183,7 +8183,7 @@ Print the accumulated user and system times for the shell and for processes run from the shell. The return status is 0. .TP -\fBtrap\fP [\fB\-lp\fP] [[\fIarg\fP] \fIsigspec\fP ...] +\fBtrap\fP [\fB\-lp\fP] [\fIarg\fP \fIsigspec\fP ...] The command .I arg is to be read and executed when the shell receives _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash