summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-16 09:18:27 +0000
committerrillig <rillig@pkgsrc.org>2005-05-16 09:18:27 +0000
commitc38978cf6b39088715b582c65afc4d68b2a27d1e (patch)
tree85ad919d24978d3622dcb247336fba089cd77e24 /bootstrap
parent6463647f8c44fb97e9fa221ca4e56bb13e884002 (diff)
downloadpkgsrc-c38978cf6b39088715b582c65afc4d68b2a27d1e.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 \&#