Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Note that variable expansion can occur within S...



details:   https://anonhg.NetBSD.org/src/rev/ca1e83e96107
branches:  trunk
changeset: 556772:ca1e83e96107
user:      jmc <jmc%NetBSD.org@localhost>
date:      Fri Dec 26 23:18:18 2003 +0000

description:
Note that variable expansion can occur within SYSV style = substitions.

diffstat:

 usr.bin/make/make.1 |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 8788b772a067 -r ca1e83e96107 usr.bin/make/make.1
--- a/usr.bin/make/make.1       Fri Dec 26 23:13:32 2003 +0000
+++ b/usr.bin/make/make.1       Fri Dec 26 23:18:18 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: make.1,v 1.94 2003/12/07 20:48:25 wiz Exp $
+.\"    $NetBSD: make.1,v 1.95 2003/12/26 23:18:18 jmc Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -783,6 +783,14 @@
 .Ar old_string
 to be replaced in
 .Ar new_string .
+.Pp
+Variable expansion occurs in the normal fashion inside both
+.Ar old_string
+and
+.Ar new_string
+with the single exception that a backslash
+is used to prevent the expansion of a dollar sign (`$'), not a preceding
+dollar sign as is usual.
 .Sm off
 .It Cm \&:@ Ar temp Cm @ Xo
 .Ar string Cm @



Home | Main Index | Thread Index | Old Index