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 12:44:09 -0800
> 
> >The way it works with the Windows shell and Windows echo will not
> change.
> 
> wait, we already established, that this has nothing to do with shell or echo - on Windows, GNU make is currently stripping one of 3 backslashes in a command like this:
> 
> Foobar:
> 	perl foobar.pl \\\foobar
> 
> 
> and, I think we have established that this behavior is undocumented ( I think Paul is saying it is a bug, and you are saying you are not sure).  

It does that only when it does not invoke builtin commands.
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.