shell/结构化命令/读取列表中的值.sh

8 lines
106 B
Bash

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