echoifempty is a utility that echoes the value of <a> if <str> is empty, echoes the value of <b> otherwise.
echoifempty
<a>
<str>
<b>
Usage: ops -echoifempty <str> <a> <b>
ops -echoifempty "not empty string" "string is empty" "string is not empty"