help-make
[Top][All Lists]
Advanced

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

Re: why does command echo \\\foobar print \\foobar


From: Eli Zaretskii
Subject: Re: why does command echo \\\foobar print \\foobar
Date: Sun, 07 Feb 2010 20:00:36 +0200

> From: Paul Smith <address@hidden>
> Date: Sun, 07 Feb 2010 09:41:01 -0500
> Cc: "address@hidden" <address@hidden>
> 
> Since an escaped character is just that character, "\f" is just "f", and
> the expected result is "\foobar".

But on Windows, `\' is a directory separator character, so if "\f"
would result in just "f", the luser who uses backslashes in file names
would lose.  Thus this ``feature''.

Mark, is there some real-life situation where this gives you trouble?
If so, can you please describe that situation?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]