[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
why does command echo \\\foobar print \\foobar
From: |
Mark Galeck (CW) |
Subject: |
why does command echo \\\foobar print \\foobar |
Date: |
Sat, 6 Feb 2010 20:16:44 -0800 |
With the makefile
foobar:
echo \\\foobar
why
C:\Temp>make foobar
\\foobar
Where is this explained in the manual? echo \\\foobar produces 3 slashes, so it
must be make that is stripping off one slash. Therefore it must be that \ is a
special character in this context. OK, then the first \ escapes the second
one, the second one is printed, then why doesn't the third one escape the "f"
and produce "f". It should be either \\\foobar, or \oobar, but I don't see how
this should produce \\foobar ??? Where is this explained in the manual?
Thank you very much.
Mark
- why does command echo \\\foobar print \\foobar,
Mark Galeck (CW) <=
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/06
- Re: why does command echo \\\foobar print \\foobar, Paul Smith, 2010/02/06
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/06
- RE: why does command echo \\\foobar print \\foobar, Paul Smith, 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Paul Smith, 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Paul Smith, 2010/02/07
- Re: why does command echo \\\foobar print \\foobar, Eli Zaretskii, 2010/02/07
- RE: why does command echo \\\foobar print \\foobar, Mark Galeck (CW), 2010/02/07