Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 1996 00:47:54 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        bde@zeta.org.au, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org, jkh@freefall.freebsd.org
Subject:   Re: cvs commit: src/etc rc 
Message-ID:  <12099.838712874@time.cdrom.com>
In-Reply-To: Your message of "Tue, 30 Jul 1996 00:35:50 PDT." <199607300735.AAA03429@silvia.HIP.Berkeley.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
I personally prefer my variable expansions to be *always* bracketed,
whether they need it lexically or not, simply because it causes the
variable names to stand out better in the text.

					Jordan

>  * the test is actually "X${foo}" != X"NO".  The braces mainly waste space.
>                         ^^^^^^^^^^^^^^^^^^
> This is quite inconsistent itself, shouldn't it be
> 
> X"$foo" != X"NO"
> 
> or
> 
> "X$foo" != "XNO"
> 
> if we are converting syntactically equivalent statments for
> consistency's sake?
> 
> Satoshi




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12099.838712874>