for循环:
for [变量] in [列表] :do 循环体 done
字符测试:
Linux基础7-9 Bash编程--for循环语句
原文:https://www.cnblogs.com/laogama/p/13045207.html