Subject: Re: printing expanded variables?
To: None <tech-toolchain@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-toolchain
Date: 09/04/2003 20:38:44
On Thu, 04 Sep 2003, Alan Barrett wrote:
> The interface specification looks fine to me.

On second thoughts, I agree with Greg.

	make -V '${FUBAR}'
seems to be much more obvious than
	make -V '$FUBAR'
or
	make -V ':FUBAR'

The implementation should be quite easy:
if (arg begins with '$') then use Var_Subst; else use Var_Value.

--apb (Alan Barrett)