Subject: yes | rm -r
To: Dan Muntz <dmuntz@eecs.umich.edu>
From: J.T. Conklin <conklin@ngai.kaleida.com>
List: netbsd-bugs
Date: 11/29/1993 14:24:03
Dan> Looks like someone broke 'rm' in current: 
Dan> %mkdir junk %yes | rm -r junk 
Dan> Segmentation fault (core dumped)

I'll take responsibility if its broken, but I'm unable to reproduce
your problems:

	jtc@sun-lamp$ mkdir junk
	jtc@sun-lamp$ yes | ./rm -r junk
	Broken Pipe

And:
	
	jtc@sun-lamp$ mkdir junk
	jtc@sun-lamp$ ./rm -ri junk
	remove junk? y
	jtc@sun-lamp$

Are you sure you're running a rm from current?  I've seen similar bugs
in the past, but I thought they had all been fixed.  What's the RCS ID
in rm.c?

	--jtc

------------------------------------------------------------------------------