How to delete the following file

Calvin Webster cwebster at ec.rr.com
Tue Sep 12 12:02:04 UTC 2006


Oops! My apologies. You are correct. The "--" option was the best in
this case. "Haste makes waste", as they say. I've been trying to to too
many things at once. 

--Cal Webster

On Tue, 2006-09-12 at 07:47, Cameron Simpson wrote:
> On 12Sep2006 07:40, Calvin Webster <cwebster at ec.rr.com> wrote:
> | No confusion here unless you don't understand that the back-slash is an
> | "escape" character, not part of the file name. The problem was that the
> | hyphen was misinterpreted by the shell as an option. Enclosing the
> | entire name in single-quotes, then escaping the offending character (the
> | hyphen), solves the problem. The hyphen is no longer misinterpreted by
> | the shell.
> 
> No. Inside single quotes the backslash is not an escape.
> 
> Go do your "touch" command again. Then examine the output of "ls"
> carefully, eg by piping it through "od -c". You'll get a surprise.




More information about the redhat-list mailing list