ant-dev mailing list archives

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

> --- Jose  Alberto Fernandez <> 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-).


View raw message