Doesn't rm ??exclude, or rm *exclude work, if you only have the one file with exclude in it?

On 10/14/05, Mike Frysinger < vapier@gentoo.org> wrote:
On Friday 14 October 2005 07:12 am, Theo Van Dinter wrote:
> On Thu, Oct 13, 2005 at 08:25:24PM +0200, Karl Hiramoto wrote:
> > hey guys,  this would seem rather basic.   How to delete a file, but i
> > have a problem.   I want to delete a file called "--exclude".   Any
> > ideas?
>
> Heh.  I used to ask this on interviews. ;)
>
> "rm -- --exclude"

although most tools nowadays support --, you could also do:
rm ./--exclude
-mike
_______________________________________________
Wlug mailing list
Wlug@mail.wlug.org
http://mail.wlug.org/mailman/listinfo/wlug