From 59c86d6d09484f1db4ebb06d6f04dae6276ff850 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Wed, 1 Feb 2023 17:34:00 +0100 Subject: Add 0 --- bash.md | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3