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:42:17
Dan> Looks like someone broke 'rm' in current: 
Dan> %mkdir junk %yes | rm -r junk 
Dan> Segmentation fault (core dumped)

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

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

It turns out that this one did core dump --- bash didn't tell me about
it though.  I've found the bug and commited the fix.

I still can't reproduce your problem with rm asking multiple times
to remove a directory.

	--jtc


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