This commit is contained in:
simono41 2018-07-16 04:54:40 +02:00
parent 9891249190
commit 1373be1bc8
2 changed files with 6 additions and 5 deletions

View file

@ -942,7 +942,7 @@ function abfrage() {
for wort in ${extraparameter}
do
echo "$wort"
set ${wort} y
export ${wort}="y"
done
# Ausgaben

View file

@ -24,11 +24,12 @@ shift
echo "Hallo Echo"
# for-schleife
for wort in "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
# while-schleife
while (( "$#" ))
do
echo "$wort"
set ${wort} y
echo ${1}
export ${1}="y"
shift
done
sleep 5