Subject: Re: sh: builtin function trap
To: Berndt Josef Wulf <wulf@dingo.ping.net.au>
From: Charles M. Hannum <root@ihack.net>
List: netbsd-help
Date: 02/27/2001 08:03:25
On Wed, Feb 28, 2001 at 12:10:46AM +1030, Berndt Josef Wulf wrote:
> 
> an error is reported when issuing a trap command with multiple
> arguments.... 
> 
> e.g.
> trap INT QUIT TSTP

The `trap' command doesn't accept signal names, only numbers.  The only
reason it doesn't complain about `INT' is that the first argument is
the script to run, not a signal number.