Re: How do you remove files with bad/wierd names
>>>>> "Pollywog" == Pollywog <pollywog@shadypond.com> writes:
> On 23-Mar-2000 Marshal Kar-Cheung Wong wrote:
>> I was wondering how to remove a file by the name of --help.tgz?
>> (Don't ask...Okay if you really must know, I typed in tgz
>> --help and I get that file. There's no man page for tgz, and I
>> think tgz shouldn't accept things starting with -- as file
>> names...) rm always takes it as an option, even if quotes,
>> double-quoted, backslashed, regular-expressioned. Any
>> suggestions?
>>
>> Marshal
> try 'rm -- --help.tgz'
Woohoo! Thanks. I should have though of that, since I just read
about -- in the bash man pages.
Thanks again.
> (no quotes)
> -- Andrew
Reply to: