Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Berndt Josef Wulf <wulf@netbsd.org>
List: source-changes
Date: 03/18/2001 06:04:24
Module Name: basesrc
Committed By: wulf
Date: Sun Mar 18 04:04:24 UTC 2001
Modified Files:
basesrc/bin/sh: 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.40 -r1.41 basesrc/bin/sh/sh.1
cvs rdiff -r1.25 -r1.26 basesrc/bin/sh/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.