Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

varcheck

both const -name 001 -value YubNub! -and var {ifEmpty -value %s -then 001 -else %s}
NAME
     
     varcheck - tests to see if a variable has a null value and if 
                does returns the value of constant instead.

          
DESCRIPTION
     
     varcheck was written to prevent errors associated with null  
     values when using `var' in a more complex command.  It defaults 
     to a constant value for 001 when the value of variable is null.


EXAMPLES
     
     Example: varcheck tmp
              where the value of variable "tmp" is "6.28318531"
     Result:  Returns the value 6.28318531.

     Example: varcheck
              where the variable "001" is set to "YubNub!"
     Result:  Returns the value "YubNub!".


AUTHOR
     Paul M. Boren
     pmboren AT gmail DOT com
    
41 uses - Created 2008-07-12 05:21:05 - Last used 2012-08-30 03:22:57
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.