power.sh für mehrdimensionale Arrays.

This commit is contained in:
2025-09-15 09:37:35 +02:00
parent 4bd2566b04
commit ff7035cd22
7 changed files with 46 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
#! /usr/bin/bash
# File: iterate.sh
# Array of numbers
fib=(0 1 2 3 5 8)
@@ -13,6 +14,7 @@ for name in "${family[@]}"
echo "for: name=${name}"
done
echo "---"
# C-ähnliche Schleife im Index
len=${#family[@]}