On Thu, Mar 09, 2000 at 09:01:46AM +1030, Lane, Richard M wrote:
| This isn't anything to do with the shell, no combo of escapes
| will work. What you have to convince is the rm command.
| Try one of the following:
| 
| % rm - -h.espi
| 
| Many commands accept a "-" as indicating the end of options.

Ick. Poor idea. "--" is the common end of options marker. "-" usually
means stdin or stdout depending on context.

Instead, say
        rm ./-h
which is simply another name for the same file which happens not to
start with a dash.

| % touch foo
| % rm foo -h.espi

Doesn't that just scream "overly complex" to you?

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

I will not be pushed, filed, stamped, indexed, briefed, debriefed or
numbered. I am a person. My life is my own.     - The Prisoner
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to