Subject: Re: Strange shell interaction
To: Samuel Hornus <Samuel.Hornus@crans.org>
From: Matthias Buelow <mkb@mukappabeta.de>
List: netbsd-help
Date: 07/31/2001 21:56:01
Samuel Hornus writes:

>To make the zsh understand that -X-... really IS a file name, use this
>style of writing : 
>	mv ./-X-...  newFileName

*sh doesn't care about arguments, it's rm which is interpreting
it as an option switch; per convention, most, if not all commands
accept "--" as an argument to indicate that any following arguments
shouldn't be interpreted as options.

--mkb