Subject: Re: Little prob with rm
To: Martin Husemann <martin@euterpe.owl.de>
From: David Maxwell 401 Richmond West <david@spinne.web.net>
List: current-users
Date: 10/28/1994 22:21:15
> 
> > Found an interesting, er..., problem (?) with rm the other day. Doing
> > an 'rm -rf' on some directory, say '/tmp/fred', by typing 'rm -rf
> > /tmp/fred', works fine, but typing 'rm -rf /tmp/fred/' complains that
> > /tmp/fred/ is a directory.

As mentioned, a BSDism. I always believed it was to protect you from null
variables appended to a directory name with a / on the end (Such as
in shell scripts.) Rather serious difference between removing a sub-dir
and everything under it, as compared to the parent and everything under
it :-)

						Davide