![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
hasswitch - Check to see if a switch is set.
SYNOPSIS
hasswitch [COMMAND STRING] -switch [SWITCH TO FIND]
EXAMPLES
hasswitch ${COMMAND} -switch -t
From within a command URL will return a number if this command has a switch '-t', or 0 otherwise
DESCRIPTION
Used for building other commands, this command implements 'Boolean Switches'
(http://groups.google.com/group/YubNub/browse_thread/thread/fadfc4878349ec4c/5e104f37a5e09b54#5e104f37a5e09b54)
AUTHOR
Stephen Paul Weber
http://singpolyma-tech.blogspot.com/