make-alpha
[Top][All Lists]
Advanced

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

Re: Quoting special characters (was: Re: Possible solution for special c


From: Eli Zaretskii
Subject: Re: Quoting special characters (was: Re: Possible solution for special characters in makefile paths)
Date: Tue, 25 Feb 2014 19:17:16 +0200

> Date: Tue, 25 Feb 2014 00:05:59 +0100
> Cc: address@hidden
> From: Frank Heckenbach <address@hidden>
> 
> > As discussed before, our desired result is that this makefile:
> > 
> >   FOO = foo\ bar
> >   $(FOO): ; @echo '$(FOO)' > '$@'
> > 
> > would run this command:
> > 
> >   echo 'foo bar' > 'foo bar'
> 
> That's were I differ (but I hope Eli will follow me here).

I do, of course.  What I said before was just a wild guess, not based
on any analysis.  You convinced me that leaving alone the backslash is
a better idea.

> Actually, in all the examples above, there would be no change in
> behaviour at all.

With Posix shells, I hope so.  We will need to think about other
shells, like Python, Perl and whatnot (let alone Windows shells -- but
let's forget about Windows for the moment).



reply via email to

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