linux shell for循环使用命令中读取到的值实例

#!/bin/bash

file="states"

for state in `cat $file`

do

echo "Visit beautiful $state"

done

原文地址:https://www.cnblogs.com/daochong/p/6107490.html