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

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
> From: "Mark Galeck (CW)" <[email protected]>
> CC: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
> Date: Sun, 7 Feb 2010 10:52:58 -0800
> Accept-Language: en-US
> acceptlanguage: en-US
> 
> echo \\\foobar
> CreateProcess(C:\Tools\cygwin\bin\echo.exe,echo \\foobar,...)

Obviously, Make removes one of the 3 backslashes, before it invokes
echo.exe.

I will try to look into this some day.  But this area is so delicate,
what with all the shells it supports, that I'd hesitate to change
anything unless I see a clear bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.