PHP
·
发表于 5年以前
·
阅读量:8283
#!/bin/bash
# using a variable to hold the list
list="Alabama Alaska Arizona"
list=$list" Connecticut"
for state in $list
do
echo "Have you ever visited $state"
done