Subject: Re: printing expanded variables?
To: None <tech-toolchain@NetBSD.org>
From: Alan Barrett <firstname.lastname@example.org>
Date: 09/04/2003 20:22:47
On Thu, 04 Sep 2003, Simon J. Gerraty wrote:
> All I (and many others) want right now is the moral equiv of "make -V
> FOO" and be able to get it expanded all the way. Getting tansient
> variables like .TARGET substituted correctly is a more complex thing
> My current implementation (patch below) uses ':' or '$' at the
> start of the variable to cause Var_Subst to be used in addition to
The interface specification looks fine to me.
The implementation might benefit from a comment explaining why it
doesn't matter if strchr() finds a '$' that happens to be preceded by a
backslash. At first, I thought that a bug was lurking there.
--apb (Alan Barrett)