linux的脚本应用for循环答应变量

#!/bin/bash

for var in A B C ; do
   echo "var is $var"
done

  

posted @ 2016-05-22 16:45  小苹果小可爱  阅读(715)  评论(0编辑  收藏  举报