From owner-freebsd-bugs Thu Jul 13 5:22:45 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from axl.ops.uunet.co.za (axl.ops.uunet.co.za [196.31.2.163]) by hub.freebsd.org (Postfix) with ESMTP id 1F1DD37B90A; Thu, 13 Jul 2000 05:22:33 -0700 (PDT) (envelope-from sheldonh@axl.ops.uunet.co.za) Received: from sheldonh (helo=axl.ops.uunet.co.za) by axl.ops.uunet.co.za with local-esmtp (Exim 3.15 #1) id 13Ci0X-000LOp-00; Thu, 13 Jul 2000 14:22:25 +0200 From: Sheldon Hearn To: nbm@FreeBSD.ORG Cc: mark@thuvia.demon.co.uk, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/5297: make incompatibility with System V style variable substitions In-reply-to: Your message of "Thu, 13 Jul 2000 04:12:16 MST." <200007131112.EAA82895@freefall.freebsd.org> Date: Thu, 13 Jul 2000 14:22:24 +0200 Message-ID: <82261.963490944@axl.ops.uunet.co.za> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 13 Jul 2000 04:12:16 MST, nbm@FreeBSD.ORG wrote: > State-Changed-From-To: suspended->open > State-Changed-By: nbm > State-Changed-When: Thu Jul 13 04:11:35 PDT 2000 > State-Changed-Why: > This PR received feedback, and a patch has been proposed. Leave it open > for others to look at. I haven't spent an enormous amount of time looking at the POSIX.1 specification for make(1), but it certainly seems to me that it does not define correct behaviour for an empty subst1 in $(string1[:subst1=[subst2]]) or ${string1[:subst1=[subst2]]} So we're pretty much left to our own devices. I think it makes sense to see how OpenBSD, NetBSD and BSD/OS are doing this before looking at System V and friends. However, even if we found that all the other BSD's exhibit the current behaviour, we'd be hard-pressed to justify it. I certainly can't find much use for the way make(1) behaves now. Mark, you wanna tackle the fact-finding mission? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message