pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap/bmake Documented how .for loops split their ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5113de93825f
branches: trunk
changeset: 493893:5113de93825f
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon May 16 09:18:27 2005 +0000
description:
Documented how .for loops split their value list (by whitespace, not by
shell-style words).
diffstat:
bootstrap/bmake/make.1 | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r b7c85b570b86 -r 5113de93825f bootstrap/bmake/make.1
--- a/bootstrap/bmake/make.1 Mon May 16 09:09:24 2005 +0000
+++ b/bootstrap/bmake/make.1 Mon May 16 09:18:27 2005 +0000
@@ -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 @@
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 \&#
Home |
Main Index |
Thread Index |
Old Index