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

hasswitch

strfind -find ${switch} -string %s
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/
    
49 uses - Created 2006-08-28 16:45:40 - Last used 2007-10-26 18:56:39
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.