Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make make.1: clarify in which case an expression may...
details: https://anonhg.NetBSD.org/src/rev/0998e4b81552
branches: trunk
changeset: 372449:0998e4b81552
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Nov 29 23:56:05 2022 +0000
description:
make.1: clarify in which case an expression may omit braces
diffstat:
usr.bin/make/make.1 | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 8385d5a86b3c -r 0998e4b81552 usr.bin/make/make.1
--- a/usr.bin/make/make.1 Tue Nov 29 23:54:55 2022 +0000
+++ b/usr.bin/make/make.1 Tue Nov 29 23:56:05 2022 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index