From 27514d58573ce1f844af4ea60afa72c7f58f1cd7 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Thu, 21 Aug 2025 22:09:29 +0200 Subject: vault backup: 2025-08-21 22:09:29 --- Bash Arrays.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Bash Arrays.md (limited to 'Bash Arrays.md') diff --git a/Bash Arrays.md b/Bash Arrays.md new file mode 100644 index 0000000..db222ee --- /dev/null +++ b/Bash Arrays.md @@ -0,0 +1,2 @@ +Length of an array: `${#arr[@]}` -> `$#` = number of args , `${#str}` length of string str, `${#arr[@]` length of array, `${#arr}` length of first entry in array ie length of str for example. + -- cgit v1.2.3