freebsd-src/bin
Steve Price f98e1b8071 With these changes sh(1)'s trap command should be POSIX-compliant,
while remaining (becoming :) compatible with other popular shells.
Specifically these changes include:

1) Implement 'trap -l' to get a list of valid signals names.  This
   is useful if you wanted to do something like reset all signal
   handlers to there defaults values, in which case something like
   this will do the trick.

	trap `trap -l`

2) Reformat the output of 'trap' so it can be saved and later eval'd
   to restore the saved settings.

3) Allow the use of signal names as well as signal numbers.

4) Fix trap handling of SIGCHLD so that commands like the following
   (albeit, contrived) won't cause sh(1) to recurse ad infinitum.

	trap uname 0 20

5) Make variables static that are used only in trap.c.

6) Minor 'style(9) police' mods.
1996-12-24 23:59:53 +00:00
..
cat Merge Lite2 mods and -Wall cleaning. 1996-12-14 05:51:58 +00:00
chflags Set NOSHARED=true, having this binary static makes it much easier to 1995-07-24 01:44:17 +00:00
chmod Cleanup man page and -Wall cleaning. 1996-12-14 05:51:20 +00:00
cp Merge Lite2 mods and -Wall cleaning. 1996-12-14 05:51:58 +00:00
csh Replace collate_range_cmp call with its code 1996-10-31 07:22:48 +00:00
date Merge Lite2 mods, fix incorrect default string, cleanup 1996-12-14 05:54:15 +00:00
dd -Wall cleaning. 1996-12-14 06:08:03 +00:00
df Merge Lite2 mods, cleanup man page, and -Wall cleaning. 1996-12-14 05:56:03 +00:00
domainname -Wall cleaning. 1996-12-14 06:08:03 +00:00
echo -Wall cleaning. 1996-12-14 06:08:03 +00:00
ed -Wall cleaning. 1996-12-14 06:08:03 +00:00
expr Backout yacc changes 1996-06-02 17:05:48 +00:00
hostname Merge Lite2 mods, -Wall cleaning, and show usage if 1996-12-14 05:59:58 +00:00
kill Merge Lite2 mods, and -Wall cleaning. 1996-12-14 06:01:00 +00:00
ln -Wall cleaning. 1996-12-14 06:08:03 +00:00
ls Merge Lite2 mods, and -Wall cleaning. undelete(2) cruft 1996-12-14 06:03:29 +00:00
mkdir Cleanup man page and -Wall cleaning. 1996-12-14 06:04:06 +00:00
mv -Wall cleaning. 1996-12-14 06:08:03 +00:00
pax -Wall cleaning. 1996-12-14 06:08:03 +00:00
ps -Wall cleaning. 1996-12-14 06:08:03 +00:00
pwd Merge Lite2 mods, cleanup man page, and -Wall cleaning. 1996-12-14 06:07:30 +00:00
rcp -Wall cleaning. 1996-12-14 06:08:03 +00:00
rm Merge Lite2 mods, and -Wall cleaning. Unimplemented undelete(2) 1996-12-14 06:11:53 +00:00
rmail Cleanup man page and -Wall cleaning. 1996-12-14 06:14:32 +00:00
rmdir -Wall cleaning and implement -p commandline option. 1996-12-14 06:13:51 +00:00
sh With these changes sh(1)'s trap command should be POSIX-compliant, 1996-12-24 23:59:53 +00:00
sleep Cleanup man page and -Wall cleaning. 1996-12-14 06:14:32 +00:00
stty -Wall cleaning. 1996-12-14 06:16:51 +00:00
sync -Wall cleaning. 1996-12-14 06:16:51 +00:00
test -Wall cleaning. 1996-12-14 06:16:51 +00:00
Makefile ed/Makefile is able to 'decide' for itself whether to build secure or 1995-10-01 14:24:01 +00:00
Makefile.inc add forgotten $Id$ 1996-09-22 21:56:57 +00:00