Subject: CVS commit: basesrc [netbsd-1-5]
To: None <source-changes@netbsd.org>
From: Berndt Josef Wulf <wulf@netbsd.org>
List: source-changes
Date: 03/17/2001 12:21:35
Module Name:	basesrc
Committed By:	wulf
Date:		Sat Mar 17 10:21:35 UTC 2001

Modified Files:
	basesrc/bin/sh [netbsd-1-5]: sh.1 trap.c

Log Message:
Extended functionality of the trap builtin, which now closely follows
POSIX recommendations.

	- trap now accepts signal names and signal numbers
	  e.g. INT, SIGINT, 2
	- added option -l that outputs a list of valid signals
	- added signal EXIT to list of valid signals
	- a `-' in the action part will reset specified signal to their
	  default behaviour
	- changed standard output format to make it suitable as an input
	  to another shell that achieves the same trapping results


To generate a diff of this commit:
cvs rdiff -r1.33.4.3 -r1.33.4.4 basesrc/bin/sh/sh.1
cvs rdiff -r1.24 -r1.24.4.1 basesrc/bin/sh/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.