Dateien des bash Tutorioals auf raspithek.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
354 B

#! /usr/bin/bash
family=("Marge" "Homer" "Bart" "Lisa" "Maggie")
neighbours=("Ned" "Maude" "Todd" "Rod")
echo "family=${family[@]}"
echo "Länge family: ${#family[@]}"
echo "neighbours=${neighbours[@]}"
echo "Länge neighbours: ${#neigbours[@]}"
merged=(${family[@]} ${neighbours[@]})
echo "merged=${merged[@]}"
echo "Länge merged: ${#merged[@]}"