[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: renaming file names beginning with -



Nick Welch <mack@incise.org> writes:

> The -- means something along the lines of "don't try to interpret
> anything after this as an -option or --option".

A much better method is to put "./" in front of the filename, like

rm ./-help

./ will work with all programs.  Only some programs interpret "--" as
end of options.

-- 
Alan Shutko <ats@acm.org> - I am the rocks.
You put the whole project in jeopardy! I wanted to be on Wheel of Fortune!



Reply to: