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}
|
||||
do
|
||||
echo "$wort"
|
||||
set ${wort} y
|
||||
export ${wort}="y"
|
||||
done
|
||||
|
||||
# Ausgaben
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue