freebsd-skq/bin/rm
delphij 169dc919b8 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
..
Makefile Revert previous delta, which is not required with rev 1.5 of 2002-07-15 12:08:21 +00:00
rm.1 Add -I, an option that asks for confirmation once if recursively 2004-10-28 08:25:30 +00:00
rm.c Add -I, an option that asks for confirmation once if recursively 2004-10-28 08:25:30 +00:00