[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #108262] Correct quoting for a parameter in the documentation
From: |
Eric Blake |
Subject: |
[sr #108262] Correct quoting for a parameter in the documentation |
Date: |
Sat, 09 Mar 2013 13:23:21 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0 |
Follow-up Comment #6, sr #108262 (project autoconf):
Autoconf does not escape ' in variables stored for make. While it is possible
to write code for GNU make that can escape ' in an arbitrary make variable, it
is up to you to write your Makefile.in to request this treatment. Automake
does not do this sort of escaping for projects using Makefile.am (because it
cannot be portably done with non-GNU make), but Automake-NG will target only
GNU make and so it might provide ways to safely escape all possible path
names, including ones with ' in the name. Basically, the autoconf approach is
to assume that space is much more likely than single quote to appear in a
filename; therefore, writing a make expansion that is in turn passed to the
shell is much more likely to be useful if it uses shell single quoting to
protect any spaces in the textual make expansion, and assume that the make
expansion will never produce a single quote that completely throws off shell
parsing.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?108262>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [sr #108262] Correct quoting for a parameter in the documentation, Markus Elfring, 2013/03/08
- [sr #108262] Correct quoting for a parameter in the documentation, Paul Eggert, 2013/03/08
- [sr #108262] Correct quoting for a parameter in the documentation, Paul Eggert, 2013/03/08
- [sr #108262] Correct quoting for a parameter in the documentation, Markus Elfring, 2013/03/08
- [sr #108262] Correct quoting for a parameter in the documentation, Paul Eggert, 2013/03/08
- [sr #108262] Correct quoting for a parameter in the documentation, Markus Elfring, 2013/03/08
- [sr #108262] Correct quoting for a parameter in the documentation, Markus Elfring, 2013/03/09
- [sr #108262] Correct quoting for a parameter in the documentation,
Eric Blake <=
- [sr #108262] Correct quoting for a parameter in the documentation, Markus Elfring, 2013/03/09