[Top][All Lists]

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

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

From: Paul Smith
Subject: RE: why does command echo \\\foobar print \\foobar
Date: Sun, 07 Feb 2010 08:57:01 -0500

On Sat, 2010-02-06 at 20:56 -0800, Mark Galeck (CW) wrote:
> But Paul, one more thing, where does it say in the manual, that it
> should be \foobar (one slash).

It doesn't say anywhere in the manual, because this has nothing to do
with GNU make.  Make does not actually RUN the commands that you write,
it passes the commands to the shell and lets the shell run them.  So,
with only the exceptions that ARE described in the manual for special
characters that make cares about, make doesn't do anything to the
commands including reducing backslashes.

Certainly I'm not going to reproduce the documentation for the shell
inside the GNU make manual: that documentation already exists elsewhere.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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