array Demos

This commit is contained in:
2025-09-07 14:15:56 +02:00
parent 96f5040dfe
commit 0d67903acf
8 changed files with 137 additions and 0 deletions

6
arrays/slice.sh Executable file
View File

@@ -0,0 +1,6 @@
#! /usr/bin/bash
family=("Marge" "Homer" "Bart" "Lisa" "Maggie")
echo "Kinder: ${family[@]:2:4}"
echo "Eltern: ${family[@]:0:2}"