Re: Remove --exclude

2003-01-21 Thread Bret Hughes
On Thu, 2003-01-16 at 14:20, Chris Mason wrote: > How do you remove a file called --exclude from the bash shell? > > [root@non htdocs]# rm \-\-exclude > rm: unrecognized option `--exclude' > > rm -- --exclude the first -- tells bash that anything following are arguments and not options Bret

RE: Remove --exclude

2003-01-17 Thread Chris Mason
That worked, thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of David Busby Sent: Thursday, January 16, 2003 4:21 PM To: [EMAIL PROTECTED] Subject: Re: Remove --exclude Why did the filename start with two dashes? try rm -f "./--ex

RE: Remove --exclude

2003-01-16 Thread Rick Carroll
2003 3:41 PM To: [EMAIL PROTECTED] Subject: Re: Remove --exclude Chris Mason, On Thursday January 16, 2003 03:20, Chris Mason wrote: > How do you remove a file called --exclude from the bash shell? > > [root@non htdocs]# rm \-\-exclude > rm: unrecognized option `--exclude

Re: Remove --exclude

2003-01-16 Thread Lorris Woods
try... rm /fullpath/--exclude. --On Thursday, January 16, 2003 3:41 PM -0500 Brian Ashe <[EMAIL PROTECTED]> wrote: Chris Mason, On Thursday January 16, 2003 03:20, Chris Mason wrote: How do you remove a file called --exclude from the bash shell? [root@non htdocs]# rm \-\-exclude rm: unrecogn

Re: Remove --exclude

2003-01-16 Thread Brian Ashe
Chris Mason, On Thursday January 16, 2003 03:20, Chris Mason wrote: > How do you remove a file called --exclude from the bash shell? > > [root@non htdocs]# rm \-\-exclude > rm: unrecognized option `--exclude' > > > I can't find a way to exclude the "-" character Try... rm -- --exclude The "--"

Re: Remove --exclude

2003-01-16 Thread David Busby
Why did the filename start with two dashes? try rm -f "./--exclude" - Original Message - From: "Chris Mason" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 12:20 Subject: Remove --exclude > How do you remove a file c

Remove --exclude

2003-01-16 Thread Chris Mason
How do you remove a file called --exclude from the bash shell? [root@non htdocs]# rm \-\-exclude rm: unrecognized option `--exclude' I can't find a way to exclude the "-" character Chris Mason [EMAIL PROTECTED] Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8