m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2023-02-01 17:34:00 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2023-02-01 17:34:00 +0100
commit59c86d6d09484f1db4ebb06d6f04dae6276ff850 (patch)
treef406fe08b67efc9a68744ae4a248c63ae2fec1e9
parent84564a54afe9b87e081627447979829467cc2210 (diff)
Add 0
-rw-r--r--bash.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/bash.md b/bash.md
index 6258795..87eb04d 100644
--- a/bash.md
+++ b/bash.md
@@ -78,6 +78,10 @@ All keys:
${!array[*]}
${!array[@]}
+## Commandline arguments
+
+* `$#`: number of arguments.
+
## Getopts example
while getopts 'a:b:c' flag; do