Date: Tue, 30 Jul 1996 01:00:00 -0700 (PDT) From: asami@cs.berkeley.edu (Satoshi Asami) To: jkh@time.cdrom.com 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: <199607300800.BAA03486@silvia.HIP.Berkeley.EDU> In-Reply-To: <12099.838712874@time.cdrom.com> (jkh@time.cdrom.com)
index | next in thread | previous in thread | raw e-mail
* 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"
My comment wasn't on curly braces. Please look at the quotes
carefully.
Actually, as Bruce says, not quoting the XNO at all is probably the
best idea.
Satoshi
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607300800.BAA03486>
