ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Expansion in includes
Date Thu, 07 Dec 2000 08:33:56 GMT
Diane Holt <holtdl@yahoo.com> wrote:

> --- Jose  Alberto Fernandez <JFernandez@viquity.com> wrote:
>> Not want to be pedantic, but al least in UNIX shell ${foo} gives an
>> error if not defined. One needs to use ${foo:-} to get the empty
>> string.
> 
> Which Unix shell, where?

bash and the Korn shell don't complain on ${foo}, not sure about the
"original" Bourne shell. C Shell based shells complain on foo not
being defined (but don't understand the ${foo:-} syntax 8-).

Stefan

Mime
View raw message