8 lines
94 B
Bash
8 lines
94 B
Bash
|
#!/bin/bash
|
||
|
# multiple variables
|
||
|
|
||
|
for (( a=1, b=10; a<=10; a++,b-- ))
|
||
|
do
|
||
|
echo "$a - $b"
|
||
|
done
|