[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] bug/virus???



Hi!

On Thu, Mar 23, 2000 at 02:42:54PM +0100, Andreas Schwab wrote:
> `.*' matches `..'.

$ rm -rf .*
rm: cannot remove `.' or `..'
rm: cannot remove `.' or `..'

That's GNU rm.

$ rm -rf .*
Cannot remove the current working directory
        .
cannot remove ..

That's IRIX rm.

$ rm -rf .*
rm: cannot remove '.' or '..'
rm: cannot remove '.' or '..'

That's AIX rm (note the different quotes around . and .. in comparison
to the GNU rm).

Solaris rm doesn't spit out an error message (maybe because of the -f,
haven't tried without), but also doesn't touch the contents of `..'.

So, does anyone a system where rm -rf .. would actually recursively
delete the parent directory?


Ciao

Thomas


-- 
Thomas Binder (Gryf @ IRCNet)  gryf@hrzpub.tu-darmstadt.de
PGP-key available on request!  binder@rbg.informatik.tu-darmstadt.de

Attachment: pgpb_gh6eCQVm.pgp
Description: PGP signature