On Wed, 8 Oct 2003, Security Analyst wrote:

> simply name files after common  command arguments... below i made an
> executable and named it "--help" wich  just happens to be one of the
> "rm"  arguments. so- whenever  i try  to delete  this file  from the
> command line, i just get the "rm" help menu
 
> To remove a file whose name starts with a `-', for example `-foo',
> use one of these commands:
>   rm -- -foo
> 
>   rm ./-foo

You are posting the answer :-)

rm -- --help

This must be a kind of a joke. 

-- 
--                   Alexandre Dulaunoy (adulau) -- http://www.foo.be/
--         http://pgp.ael.be:11371/pks/lookup?op=get&search=0x44E6CBCD
--         "Knowledge can create problems, it is not through ignorance
--                                that we can solve them" Isaac Asimov





_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to