> I somehow have a file called:
> ------=_NextPart_000_004C_01BFBB60.97BC0740

This looks like a MIME style mail attachment separator.  And mail
addresses are usually bracketed with <address>.  Perhaps you
accidentally executed a mail file as a command and this was
interpreted as a file redirection?  Just a guess.

> which I can't remove. "rm" takes the intial --'s
> as a command, which of course it doesn't recognize.

This is an almost standard answer to your commonly asked question.

As you noted since the file name begins with a '-' it looks like an
option to the command.  You need to force it to not look like an
option.  Put a ./ in the front of it.  Or give it the full file name
path.  Or tell the command you are through with options by using the
double dash to end all option processing.  This is common to most
traditional UNIX commands.

  rm ./-stuff
  rm /full/path/-stuff
  rm -- -stuff

Bob

Reply via email to