aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-02 20:48:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-02 20:48:15 +1200
commit78e2ead680d0f35aa1dd70de91f28932284b3664 (patch)
treebf4dfc9e73e137a2acd7b466be98f0ec5ad5e7ff /man
parentMove existing .m4 to .m4.mi5 (diff)
downloaddotfiles-78e2ead680d0f35aa1dd70de91f28932284b3664.tar.gz
dotfiles-78e2ead680d0f35aa1dd70de91f28932284b3664.zip
Correct some terms in man mi5(1df)
Diffstat (limited to 'man')
-rw-r--r--man/man1/mi5.1df6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man1/mi5.1df b/man/man1/mi5.1df
index dd215d0c..b56bed93 100644
--- a/man/man1/mi5.1df
+++ b/man/man1/mi5.1df
@@ -22,7 +22,7 @@ covers almost every usage case for the author. It's written to work with any
POSIX m4.
.P
mi5 inverts m4's usual approach by approaching most of the file as if it were
-part of an m4 comment, with <% and %> as the delimiters to specify markers in
+part of an m4 quote, with <% and %> as the delimiters to specify markers in
which macro expansion should occur. This makes m4 work in a way reminiscent of
templating libraries or languages like PHP.
.P
@@ -50,10 +50,10 @@ very simple macro expansion in an mi5 inline.
.SH CAVEATS
Only very simple macro expansions work in inline calls at the moment. This can
be fixed by the author tokenizing the line properly, which he'll do Real Soon
-Now (TM). Specifically, neither comment delimiters nor macro parameters work.
+Now (TM). Specifically, neither quote delimiters nor macro parameters work.
The latter is because of a nasty corner-case in m4 where parameter expansions
$1, $2, $*, etc are expanded
-.B even within comments,
+.B even within quotes,
one of m4's darkest corners. The workaround is to do as much logic as you can
in a block, defining your result as a single simple macros, and then expanding
that inline.