bug-coreutils
[Top][All Lists]
Advanced

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

Re: "rm" bug


From: Alfred M. Szmidt
Subject: Re: "rm" bug
Date: Sat, 10 Jan 2004 05:14:37 +0100 (MET)

     there seems to be a weird bug with the "rm" command, at least
     with "rm (coreutils) 4.5.3".

This is an quite old version of, the latest stable is 5.0.

     Just try the following commands,

        rm -i  a b*

        rm -f  a b*

    in a test directory containing a file named "a" and no file with a
    name starting with "b".

I don't know what the bug is supposed to be.  -f ignores non-existant
files, so it doesn't print anything if some file doesn't exist.

$ touch a
$ rm -i a b*
rm: remove empty file `a'? y
rm: cannot lstat `b*': No such file or directory
$ touch a
$ rm -f a b*
$




reply via email to

[Prev in Thread] Current Thread [Next in Thread]