From owner-freebsd-hackers Mon Oct 14 4:38:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8624537B401 for ; Mon, 14 Oct 2002 04:38:51 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E17043EAC for ; Mon, 14 Oct 2002 04:38:43 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g9EBaMI77760; Mon, 14 Oct 2002 14:36:22 +0300 (EEST) (envelope-from ru) Date: Mon, 14 Oct 2002 14:36:22 +0300 From: Ruslan Ermilov To: Roman Neuhauser Cc: hackers@FreeBSD.org Subject: Re: inconsistency in /usr/bin/make Message-ID: <20021014113622.GA76880@sunbay.com> References: <20021014095718.GU364@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20021014095718.GU364@freepuppy.bellavista.cz> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 14, 2002 at 11:57:18AM +0200, Roman Neuhauser wrote: > Hi there, >=20 > continuing my make adventure, I've stumbled across the following > inconsistency. I would even call it a bug. >=20 > In any event, could someone point me to a place in the make(1) man page > where it says that the S and C modifiers dereference variables given in > both the pattern and replacement, while the N and M modifiers insist on > being fed literal strings? I couldn't find it. Thanks! :) >=20 The last paragraph of the S modifier talks about variable expansion inside the "old_string" and "new_string". There is no similar talk in the M and N descriptions. Even the OpenBSD's make(1) is subject to this same restriction. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9qqw2Ukv4P6juNwoRAsDjAJsEAW83pGbpHKqdrUBjj4W4Dz+XBQCeMtPT yMNIF1wMvsUPtXaCtP9h9Pk= =x4FP -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message