On Fri, 20 Aug 1999 11:59:05 MST, Doug wrote:
However I'd REALLY like to emphasize again that if we're going to do
this the proper fix is to use case wherever possible.
I have offered several times to do the work if it has a chance of
being committed, that offer is still good.
Hi Doug,
In message [EMAIL PROTECTED] Sheldon Hearn writes:
: -if [ X$start_vinum = XYES ]; then
: +if [ X"${start_vinum}" = X"YES" ]; then
I never understood why you check against X"YES"? XYES always seemed
much better than X"YES" since the latter is somewhat obscure. Both
are identical...
Warner
However I'd REALLY like to emphasize again that if we're going to do
this the proper fix is to use case wherever possible. There are
numerous reasons for this, not the least of which are making the
variable case insensitive (and therefore more user friendly)
I have to really agree with Doug
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"
I gather the reason for using the X trick *and* the quotes is because there
might be some whitespace in there, too.
Actually, that's mostly just historical legacy. When the quotes, it's
safe even if the expansion is empty or contains whitespace. I got
kinda annoyed with this last night and
"Jordan K. Hubbard" wrote:
I gather the reason for using the X trick *and* the quotes is because there
might be some whitespace in there, too.
Actually, that's mostly just historical legacy. When the quotes, it's
safe even if the expansion is empty or contains whitespace.
The
Hi folks,
I have a diff for src/etc/rc that I'd like to have had used on a few
machines before I commit it. I'm pretty sure I haven't made any mistakes
with my changes, but you can never be too careful, right?
The diff homogenizes the manner in which variables are tested and is
more careful