aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lume/src/notes/2024/bash-hashmap.mdx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lume/src/notes/2024/bash-hashmap.mdx b/lume/src/notes/2024/bash-hashmap.mdx
index bafb478..61c4685 100644
--- a/lume/src/notes/2024/bash-hashmap.mdx
+++ b/lume/src/notes/2024/bash-hashmap.mdx
@@ -55,7 +55,7 @@ done
You can iterate over the values with a `for` loop on the `*` value:
```shell
-for region in "${FLY_REGIONS[@]}"; do
+for region in "${FLY_REGIONS[*]}"; do
echo "region: $region"
done
```