pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc/guide/files Applied the quoting rules to my own ex...
details: https://anonhg.NetBSD.org/pkgsrc/rev/056bf63f3c94
branches: trunk
changeset: 493757:056bf63f3c94
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat May 14 03:30:56 2005 +0000
description:
Applied the quoting rules to my own examples. "Converting an internal
list to an external list" had been wrong.
diffstat:
doc/guide/files/makefile.xml | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3820516419d9 -r 056bf63f3c94 doc/guide/files/makefile.xml
--- a/doc/guide/files/makefile.xml Sat May 14 03:26:09 2005 +0000
+++ b/doc/guide/files/makefile.xml Sat May 14 03:30:56 2005 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: makefile.xml,v 1.10 2005/05/14 03:26:09 rillig Exp $ -->
+<!-- $NetBSD: makefile.xml,v 1.11 2005/05/14 03:30:56 rillig Exp $ -->
<!-- based on:
pkgsrc/bootstrap/bmake/for.c 1.1.1.1
@@ -155,14 +155,15 @@
<programlisting>
EXT_LIST= # empty
.for i in ${INT_LIST}
-EXT_LIST+= ${i:Q}
+EXT_LIST+= ${i:Q}""
.endfor
</programlisting>
<para>This code converts the internal list
<varname>INT_LIST</varname> into the external list
<varname>EXT_LIST</varname>. As the elements of an internal list
- are unquoted they must be quoted here.</para>
+ are unquoted they must be quoted here. The reason for appending
+ <varname>""</varname> is explained below.</para>
</sect2>
Home |
Main Index |
Thread Index |
Old Index