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: param-func.sh
|
|
|
|
|
|
|
|
function hallo() {
|
|
|
|
echo "Hallo ${1}"
|
|
|
|
}
|
|
|
|
|
|
|
|
count=1
|
|
|
|
|
|
|
|
while [ ${count} -le 4 ]; do
|
|
|
|
hallo "${count}"
|
|
|
|
count=$((${count} + 1))
|
|
|
|
done
|