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.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to