Subject: Re: Little prob with rm
To: Martin Husemann <firstname.lastname@example.org>
From: Perry E. Metzger <email@example.com>
Date: 10/29/1994 14:43:35
Martin Husemann says:
> > 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.
> This is an old BSD vs. SysV difference. I never understood why that
> would be useful, but it's in all BSD's I've worked with.
Having become used to the SunOS behavior, I'd argue that cutting the
user more slack and taking the trailing / is "the right thing".