From: Jeff Sherk Forerunner Ministries on
On 6/21/2010 2:31 PM, /dev/rob0 wrote:
> On Mon, Jun 21, 2010 at 02:10:15PM -0500, Jeff Sherk Forerunner
> Ministries wrote:
>
>> I still don't understand the difference between this
>> ${default_database_type} and this $default_database_type though ...
>> if default_database_type=cdb , how will one differ from the other?
>>
> They do not differ. Just as in shell syntax, the { } are used to
> delineate the boundaries of the variable's name. ${foobar}bas
> evaluates to "bas" if foobar is not set. Without the delineation
> there might be no way to know what variable name you wanted.
>
> number=7701
> street=wyandotte
> bingham=${number}$street
>
> Thus "$bingham" is "7701wyandotte" in this silly example. For
> real-world Postfixated examples, continue reading in your
> documentation.
>

Ok, I get it now... if you had this: $foobarbas it would be looking for
the variable foobarbas which doesn't exist!
Thanks