mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
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
|