CVS commit: src/bin/rm

"Jan Schaumann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	jschauma
Date:		Sat Apr 25 20:23:01 UTC 2026

Modified Files:
	src/bin/rm: rm.c

Log Message:
when '-i[rR]' is given, prompt the user for examination of directories as well as for removal

Previously, interactively and recursively removing a directory hierarchy
did not iteratively prompt the user for confirmation for both descending
into as well as removing directories.

This uses the patch suggested by [email protected] on tech-userlevel back in
February to more closely match the behavior of macOS and Linux as well
as user expectations.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/bin/rm/rm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.