Subject: Re: make(1) question; purpose of ${ :? : }
To: Simon Gerraty <sjg@juniper.net>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-toolchain
Date: 01/09/2004 11:23:23
--+B+y8wtTXqdUj1xM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 08, 2004 at 04:08:24PM -0800, Simon Gerraty wrote:
  | Ok with the patch below the test case:
  |=20
  | all:
  | 	@echo "The answer is ${A:?known:unknown}"
  | 	@echo "The answer is ${A:?$A:unknown}"
  | 	@echo "The answer is ${empty(A):?empty:$A}"
  |=20
  | works as expected:

thanks for fixing this!

what limitations are there on the expression before the ':?'  ?
can we do stuff like
	${defined(FOO)||${BAR}!=3D"" :?true:false}
?

--+B+y8wtTXqdUj1xM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQE//fR7pBhtmn8zJHIRAsEqAKCV7ey2Wf8EYWr40NLClJ/XsdRNPQCfXeqQ
Eql+72m1p1WZGOoavw5Ul7k=
=ra6s
-----END PGP SIGNATURE-----

--+B+y8wtTXqdUj1xM--