14 Mar
2011
14 Mar
'11
3:03 a.m.
Am Sun, 13 Mar 2011 22:58:21 -0400 schrieb Dave Reisner <d@falconindy.com>:
Absolutely not. ${var} is identical to $var in every way except one:
$varfoo != ${var}foo
The curly braces otherwise provide zero differentiation in expansion rules when used in this fashion.
You're wrong again. ${variable} is the same as "$variable". From `man bash`: ${parameter} The value of parameter is substituted. The braces are required when parameter is a positional parameter with more than one digit, or when parameter is followed by a character which is not to be interpreted as part of its name. Heiko