summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorrillig <rillig>2005-05-16 09:18:27 +0000
committerrillig <rillig>2005-05-16 09:18:27 +0000
commit41965c7f8b9114d17c8fa74c2d7eb7fe4dfb722a (patch)
tree85ad919d24978d3622dcb247336fba089cd77e24 /bootstrap
parente0a9cf9c1077aa7cb660e8c3e2906ea0e14e06a1 (diff)
downloadpkgsrc-41965c7f8b9114d17c8fa74c2d7eb7fe4dfb722a.tar.gz
Documented how .for loops split their value list (by whitespace, not by
shell-style words).
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/bmake/make.112
1 files changed, 11 insertions, 1 deletions
diff --git a/bootstrap/bmake/make.1 b/bootstrap/bmake/make.1
index 5caa6c3e2d1..bfd8caf9e65 100644
--- a/bootstrap/bmake/make.1
+++ b/bootstrap/bmake/make.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: make.1,v 1.3 2005/05/11 14:39:32 rillig Exp $
+.\" $NetBSD: make.1,v 1.4 2005/05/16 09:18:27 rillig Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1033,6 +1033,16 @@ inside the body of the for loop.
The number of words must come out even; that is, if there are three
iteration variables, the number of words provided must be a multiple
of three.
+.Pp
+.\" FIXME: .Ic is not the right markup, but it looks good.
+.Ic WARNING :
+Other than the way a
+.Dq word
+is interpreted by the modificators, a
+.Ic .for
+loop statement splits the expression at sequences of whitespace.
+Single quotes, double quotes and backslashes do not have a special
+meaning in this case.
.Sh COMMENTS
Comments begin with a hash
.Pq Ql \&#