Difference between revisions of "-z"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
== Related  
+
== Related ==
 
  function [[usage]]() {
 
  function [[usage]]() {
 
     echo "Usage:" $(basename $0) Explain options here"
 
     echo "Usage:" $(basename $0) Explain options here"

Revision as of 14:54, 13 November 2021

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


Related

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

See also

Advertising: