Ok guys, I was just pulling your legs.... Seriously, though silent empty expansions will just hide bugs in a build.
Jose Alberto > -----Original Message----- > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 07, 2000 12:34 AM > To: [EMAIL PROTECTED] > Subject: Re: Expansion in includes > > > 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 >
