Warner Losh wrote:
> 
> 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...

        The prevailing shell scripting CW is that putting the X outside the quotes
makes it more clear to a casual observer that the X is not part of the
value you are testing. Personally I agree with you, I've always thought
that "X$VAR" looks cleaner. 

Doug (assuming I'm understanding your point here...)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to