[arch-general] [arch-dev-public] Let's agree on a common coding style

Muhammed Uluyol uluyol0 at gmail.com
Sat Feb 13 17:10:08 EST 2010


On Sat, Feb 13, 2010 at 4:05 PM, Dieter Plaetinck <dieter at plaetinck.be> wrote:
>
> what do you mean context? it only depends on whether the first
> character after the variablename is a valid character in a variablename
> or not.  if it's valid, use braces. if it isn't, no need for braces.

Arrays can't be used with $array[4], they need to be used as ${array[4]}
Also finding the string length, substitution, etc require braces


More information about the arch-general mailing list