Difference between revisions of "-z"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
 
== Related ==
 
== Related ==
 
  function [[usage]]() {
 
  function [[usage]]() {
     echo "Usage:" $(basename $0) Explain options here"
+
     echo "Usage: $(basename $0) Explain options here"
 
     [[exit 0]]
 
     [[exit 0]]
 
  }
 
  }

Revision as of 10:23, 3 September 2022

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


Related

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


See also

Advertising: