Difference between revisions of "-z"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
<code>[[ -z $1 ]] && { [[usage]]; }</code>
+
<code>[[ -z $1 ]] && { [[usage]]; }</code>
<code>[ -z $1 ] && { [[usage]]; }</code>
+
<code>[ -z $1 ] && { [[usage]]; }</code>
  
  

Revision as of 10:28, 3 September 2022

-z $1  && { usage; }
[ -z $1 ] && { usage; }


Related

function usage() {
    echo "Usage: $(basename $0) Explain options here"
    exit 0
}


See also

Advertising: