Files
bash-tut/arrays/length.sh

10 lines
169 B
Bash
Executable File

#! /usr/bin/bash
# File: length.sh
a1=(0 1 2 3 4 5)
family=("Marge" "Homer" "Bart" "Lisa" "Maggie")
echo "Größe family: ${#family[@]}"
echo "Größe a1: ${#a1[@]}"