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.
|
|
|
#! /usr/bin/bash
|
|
|
|
# File: loop-func.sh
|
|
|
|
|
|
|
|
function hallo() {
|
|
|
|
echo "Hallo 1"
|
|
|
|
echo "-------"
|
|
|
|
}
|
|
|
|
|
|
|
|
count=1
|
|
|
|
|
|
|
|
while [ ${count} -le 4 ]; do
|
|
|
|
hallo
|
|
|
|
count=$((${count} + 1))
|
|
|
|
done
|