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

Dieter Plaetinck dieter at plaetinck.be
Sat Feb 13 17:19:02 EST 2010


On Sat, 13 Feb 2010 16:10:08 -0600
Muhammed Uluyol <uluyol0 at gmail.com> wrote:

> 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

okay sure.  i agree, but we (or atleast i) were (was) talking about
regular variables.

Dieter


More information about the arch-general mailing list