If the Unix shell doesn't like it then try something else... You could try something like: bash-2.05b$ python
import os os.unlink('--exclude') <Control-Z (just to exit python)>
Assuming you have python installed. I think this should be installed by default on most Linux systems. -----Original Message----- From: wlug-bounces@mail.wlug.org on behalf of dulsi@identicalsoftware.com Sent: Fri 10/14/2005 11:51 AM To: wlug@mail.wlug.org Subject: Re: [Wlug] deleting a file named "--exclude" No. Unix shells expands everything on the command line before running the program. So "rm *exclude" and "rm ??exclude" expand to "rm --exclude". The program cannot tell that the "--exclude" was expanded from wildcard values. Quoting Jim Dibb <jimdibb@gmail.com>:
Doesn't rm ??exclude, or rm *exclude work, if you only have the one file with exclude in it?
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug