Re: Quoting special characters (was: Re: Possible solution for special characters in makefile paths)
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.comp.gnu.make.devel |
|---|---|
| Message-ID | <[email protected]> |
> Date: Tue, 25 Feb 2014 00:05:59 +0100 > Cc: [email protected] > From: Frank Heckenbach <[email protected]> > > > 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).