On Wed, 15 Sep 2010, Adrian Bunk wrote:
On Wed, Sep 15, 2010 at 08:58:27AM -0400, Trevor Woerner wrote:
From: Trevor Woerner <[email protected]>
Remove the '{' and '}' braces around variable dereferences
which aren't necessary for shell parsing.
...
Why?
When you use them you are on the safe side.
And I'd also say the code is more readable with them.
certainly - even though I know it works, this
$foo.$bar
is less readable than
${foo}.${bar}
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel