![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
ifNotEmpty -- tests if a string is not empty
DESCRIPTION
ifNotEmpty [string] [-then action if not empty] [-else action if emtpy]
Usage:
ifNotEmpty test -then yes -else no
Returns: yes
ifNotEmpty -then yes -else no
Returns: no
NOTE:
This was created as a shortcut for creating other YubNub commands using
this method: http://yubnub.blogspot.com/2005/08/first-command-to-use-ifthen-command.html
AUTHOR
chicagosage -- using Allen Ormond's ifThen command and
inspired by the "ifEmpty" command
b.a.