summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-11-29 23:56:05 +0000
committerrillig <rillig@NetBSD.org>2022-11-29 23:56:05 +0000
commitd2c49d8fa23cc37626e9096d86c2893b4f2f0856 (patch)
tree8d138189352199008bfedf11474394296f9009f8 /usr.bin/make
parent41d76b63c1b4dee035ec659e1cfbfe93bf240482 (diff)
make.1: clarify in which case an expression may omit braces
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/make.17
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index fa993ec2d0f..f9a5bbaaf34 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: make.1,v 1.349 2022/11/15 07:58:00 rillig Exp $
+.\" $NetBSD: make.1,v 1.350 2022/11/29 23:56:05 rillig Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94
.\"
-.Dd October 2, 2022
+.Dd November 29, 2022
.Dt MAKE 1
.Os
.Sh NAME
@@ -645,7 +645,8 @@ References to variables have the form
.Cm \&${ Ns Ar name Ns Oo Ns Cm \&: Ns Ar modifiers Oc Ns Cm \&}
or
.Cm \&$( Ns Ar name Ns Oo Ns Cm \&: Ns Ar modifiers Oc Ns Cm \&) .
-If the variable name consists of only a single character,
+If the variable name consists of only a single character
+and the expression contains no modifiers,
the surrounding curly braces or parentheses are not required.
This shorter form is not recommended.
.Pp