Re: How to delete the following file

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

 



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@xxxxxxxxx> 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.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux