[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug] rm can't delete files starting with '-'
From: |
Marco |
Subject: |
Re: [bug] rm can't delete files starting with '-' |
Date: |
Tue, 29 Mar 2005 16:44:55 +0200 |
I'm very sorry for the false alarm...
Thanks.
On Sat, 26 Mar 2005 22:17:28 -0700, Bob Proulx <address@hidden> wrote:
> Marco wrote:
> > Trying to remove files whose name start with '-' rm thinks of an option.
> >
> > OUTPUT (italian)
> >
> > rm -050309-15526
> > rm: opzione non valida -- 0
> > Usare `rm --help' per ulteriori informazioni.
>
> Yes. But it is not a bug. The 'rm --help' output says this:
>
> To remove a file whose name starts with a `-', for example `-foo',
> use one of these commands:
> rm -- -foo
>
> rm ./-foo
>
> Bob
>