Date: Mon, 14 Oct 2002 14:36:22 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Roman Neuhauser <neuhauser@bellavista.cz> Cc: hackers@FreeBSD.org Subject: Re: inconsistency in /usr/bin/make Message-ID: <20021014113622.GA76880@sunbay.com> In-Reply-To: <20021014095718.GU364@freepuppy.bellavista.cz> References: <20021014095718.GU364@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021014113622.GA76880>