Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make Fix rendering of :? example



details:   https://anonhg.NetBSD.org/src/rev/62086ce44aa0
branches:  trunk
changeset: 762704:62086ce44aa0
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sat Feb 26 01:17:24 2011 +0000

description:
Fix rendering of :? example

diffstat:

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

diffs (27 lines):

diff -r a207c4fcca3a -r 62086ce44aa0 usr.bin/make/make.1
--- a/usr.bin/make/make.1       Fri Feb 25 23:37:32 2011 +0000
+++ b/usr.bin/make/make.1       Sat Feb 26 01:17:24 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: make.1,v 1.182 2010/09/14 11:57:03 wiz Exp $
+.\"    $NetBSD: make.1,v 1.183 2011/02/26 01:17:24 sjg 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 September 13, 2010
+.Dd February 25, 2011
 .Dt MAKE 1
 .Os
 .Sh NAME
@@ -1173,7 +1173,7 @@
 .Dl ${NUMBERS:M42:?match:no}
 which actually tests defined(NUMBERS),
 to determine is any words match "42" you need to use something like:
-.Dl ${${NUMBERS:M42} != "":?match:no} .
+.Dl ${"${NUMBERS:M42}" != \&"\&":?match:no} .
 .It Ar :old_string=new_string
 This is the
 .At V



Home | Main Index | Thread Index | Old Index