Diane Holt <[EMAIL PROTECTED]> wrote:
> --- Jose Alberto Fernandez <[EMAIL PROTECTED]> 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
