linux-tutorial/codes/shell/示例脚本/逻辑控制/读取列表中的值.sh
2019-10-10 08:56:31 +08:00

8 lines
109 B
Bash

#!/bin/bash
# basic for command
for test in Alabama Alaska Arizona
do
echo The next state is $test
done