Difference between revisions of "-z"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
* [[binary operator expected]]
 
* [[binary operator expected]]
 
* [[Square bracket]]
 
* [[Square bracket]]
 +
* [[Single bracket]]
 +
* [[Double bracket]]
  
 
== See also ==
 
== See also ==

Revision as of 10:26, 3 September 2022

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


Related

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


See also

Advertising: