freebsd-dev/bin
Xin LI 24c0f7385b Add -I, an option that asks for confirmation once if recursively
removing directories or if more than 3 files are listed in the
command line.

This feature is intended to provide a safe net but not being too
annoying like having "rm -i" for every deleting operations, and
is generally good for both newbies and power users, preventing
them from being so easily run into ``rm -rf /'', ``rm -rf *''
and so forth.

Originally implemented by Matthew Dillon for DragonFly, plus
some improvements done by various DragonFly contributors.

Approved by:	murray (mentor; the original dillon's version)
Discussed with:	des
Obtained from:	DragonFly's bin/rm/
		rm.c rev. 1.4 - 1.8
		rm.1 rev. 1.3 - 1.4
MFC After:	1 month
2004-10-28 08:25:30 +00:00
..
cat Use warn() instead of perror(). 2004-07-20 05:52:00 +00:00
chflags chflags compiles with WARNS?=6. 2004-10-03 15:03:15 +00:00
chio Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
chmod Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
cp Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
csh KANJI and DSPMBYTE are now "on" by default in the tcsh 6.13.00 distribution. 2004-07-11 02:23:38 +00:00
date Change the behaviour of `-v' so that, e.g., stepping a month back 2004-08-09 13:43:39 +00:00
dd Add a "fillchar" command line argument to dd(1) that permits the user 2004-08-15 19:10:05 +00:00
df Currently if a mount point is not accessible by the calling user, 2004-07-20 18:24:47 +00:00
domainname Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
echo Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
ed Join the 21st century: Cryptography is no longer an optional component 2004-08-06 07:27:08 +00:00
expr Remove BUGS section that talked about missing multibyte character support. 2004-07-12 10:46:55 +00:00
getfacl Fixed spelling of the document date. 2004-05-16 21:34:31 +00:00
hostname Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
kenv Various quibbles: 2004-04-28 01:27:36 +00:00
kill Deal with double whitespace. 2004-07-03 00:06:28 +00:00
ln Deal with double whitespace. 2004-07-03 00:06:28 +00:00
ls Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
mkdir Don't read the byte at *argv[strlen(*argv) + 1]. 2004-09-24 06:57:26 +00:00
mv Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
pax Document missing multibyte character handling in utilities specified 2004-07-03 02:03:44 +00:00
ps Use warn() instead of perror(). 2004-07-20 05:52:00 +00:00
pwd Deal with double whitespace. 2004-07-03 00:06:28 +00:00
rcp Deal with double whitespace. 2004-07-03 00:06:28 +00:00
realpath Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rm Add -I, an option that asks for confirmation once if recursively 2004-10-28 08:25:30 +00:00
rmail Remove WFORMAT, style.Makefile(5). 2004-03-22 03:17:36 +00:00
rmdir Added -v to usage(). 2004-05-16 20:41:11 +00:00
setfacl Mechanically kill hard sentence breaks. 2004-07-02 21:04:19 +00:00
sh Attempting to unset an undefined variable or function should not be 2004-09-27 18:43:18 +00:00
sleep Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
stty Deal with double whitespace. 2004-07-03 00:06:28 +00:00
sync Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
test Clarify: test compares strings by binary value, not "ASCII value". 2004-07-03 01:49:17 +00:00
uuidgen The uuidgen(1) program is WARNS=6 clean, so flag it as such. 2003-12-07 21:34:56 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc Now that we have gcc 3.4, we can flip ia64 to using a dynamically linked 2004-08-06 00:07:26 +00:00