Difference between revisions of "-z"
Jump to navigation
Jump to search
(Created page with " [ -z $1 ] && { usage; } == See also == * {{if}}") |
|||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [ -z $1 ] && { usage; } | + | |
+ | <nowiki>[[ -z $1 ]] && { [[usage]]; }</nowiki> | ||
+ | <code>[ -z $1 ] && { [[usage]]; }</code> | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | function [[usage]]() { | ||
+ | echo "Usage: $(basename $0) Explain options here" | ||
+ | [[exit 0]] | ||
+ | } | ||
+ | |||
+ | |||
+ | * [[If]] | ||
+ | * [[binary operator expected]] | ||
+ | * [[Square bracket]] | ||
+ | * [[Single bracket]] | ||
+ | * [[Double bracket]] | ||
== See also == | == See also == | ||
* {{if}} | * {{if}} | ||
+ | * {{argparse}} | ||
+ | |||
+ | [[Category:Bash]] |
Latest revision as of 10:28, 3 September 2022
Advertising: