[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4sugar doc example
From: |
Bruno Haible |
Subject: |
Re: m4sugar doc example |
Date: |
Sun, 4 Feb 2007 00:06:02 +0100 |
User-agent: |
KMail/1.5.4 |
Hi Eric,
Thanks for the longer explanations. It really makes clear that a "rescanning"
process occurs - something which helps understanding m4.
Here are two minor tweaks of the text, to make it clear that
- the intent of the second snippet is the same as of the first one,
- the capitalization occurred in both cases, only at different moments.
Bruno
--- m4.texinfo 3 Feb 2007 21:47:34 -0000 1.1.1.1.2.111
+++ m4.texinfo 3 Feb 2007 23:01:00 -0000
@@ -966,10 +966,10 @@
@uref{http://lists.gnu.org/archive/html/bug-gnulib/@/2007-01/@/msg00389.html},
and a followup patch in
@uref{http://lists.gnu.org/archive/html/bug-gnulib/@/2007-02/@/msg00000.html}},
-showing both both a buggy approach and the desired results. In the
-original attempt, the user desires to output a shell assignment
-statement that takes its argument and turns it into a shell variable by
-converting it to uppercase and prepending a prefix.
+showing both both a buggy approach and the desired results. The user
+desires to output a shell assignment statement that takes its argument
+and turns it into a shell variable by converting it to uppercase and
+prepending a prefix. The original attempt looks like this:
@example
changequote([,])dnl
@@ -1043,7 +1043,9 @@
Now for a corrected approach. This rearranges the use of newlines and
whitespace so that less whitespace is output (which, although harmless
to shell scripts, can be visually unappealing), and fixes the quoting
-issues so that the desired capitalization occurs.
+issues so that the capitalization occurs when the macro
address@hidden is invoked, rather then when it is
+defined.
@example
changequote([,])dnl