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

#!/bin/bash

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

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