On 12/6/00 1:13 PM, "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.

Typing in commands -- yes it give an error, but in a shell script (even
/bin/sh) if you say 'echo asdf${barf}asdf', you get 'asdfasdf' -- at least
on my shell here. :)

> What you are suggesting is closer to MAKE's behavior, AHHHHHGGGGGGG :-P

Properties are always just strings -- not of any other type. An empty string
can be either "" or null. Since there are no other types here, and I can't
think of a case in using a property where you really care about the
difference between "" and null, using "" for the undefined just seems
natural.

-- 
James Duncan Davidson                                        [EMAIL PROTECTED]
                                                                  !try; do()

Reply via email to