array Demos
This commit is contained in:
8
arrays/length.sh
Executable file
8
arrays/length.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#! /usr/bin/bash
|
||||
|
||||
a1=(0 1 2 3 4 5)
|
||||
family=("Marge" "Homer" "Bart" "Lisa" "Maggie")
|
||||
|
||||
echo "Größe family: ${#family[@]}"
|
||||
echo "Größe a1: ${#a1[@]}"
|
||||
|
Reference in New Issue
Block a user