Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 1999 19:50:46 -0400
From:      Harlan Stenn <Harlan.Stenn@pfcs.com>
To:        Doug <Doug@gorean.org>
Cc:        Warner Losh <imp@village.org>, current@FreeBSD.ORG
Subject:   Re: REQ: Test /etc/rc clean-up 
Message-ID:  <24142.935279446@brown.pfcs.com>
In-Reply-To: Doug's (Doug@gorean.org) message dated Sat, 21 Aug 1999 16:34:56.  <37BF37A0.769435B3@gorean.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
I understand that folks use X$foo becuase if $foo evaluates to -whatever
then there is a *chance* that test will misunderstand.

I gather the reason for using the X trick *and* the quotes is because there
might be some whitespace in there, too.

Given that "case" is a builtin and using "case" instead of "test" is both
faster, easier to read (less clutter), and supports mixed-case easier, I
prefer "case".  But I went down this road before.

H


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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