set-fix
This commit is contained in:
parent
9891249190
commit
1373be1bc8
2 changed files with 6 additions and 5 deletions
|
@ -942,7 +942,7 @@ function abfrage() {
|
||||||
for wort in ${extraparameter}
|
for wort in ${extraparameter}
|
||||||
do
|
do
|
||||||
echo "$wort"
|
echo "$wort"
|
||||||
set ${wort} y
|
export ${wort}="y"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Ausgaben
|
# Ausgaben
|
||||||
|
|
|
@ -24,11 +24,12 @@ shift
|
||||||
|
|
||||||
echo "Hallo Echo"
|
echo "Hallo Echo"
|
||||||
|
|
||||||
# for-schleife
|
# while-schleife
|
||||||
for wort in "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
|
while (( "$#" ))
|
||||||
do
|
do
|
||||||
echo "$wort"
|
echo ${1}
|
||||||
set ${wort} y
|
export ${1}="y"
|
||||||
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
Loading…
Reference in a new issue