shell脚本嵌套循环 - SegmentFault
2016年8月5日 - 现在需要检测两个变量x,y。写了两个for循环,报错... shell脚本嵌套循环 shell Alifather 2016年08月05日提问 关注 3 关注 收藏 0 收藏,873 浏览 问题...
shell中for循环嵌套应该怎么写_百度知道
最佳答案: #!/bin/bashfor num in 1 2 3 4 5 do for char in "a b c d e" doecho $num $char donedone结果为 1 a b c d e2 a b c d ...更多关于shell脚本嵌套循环的问题>>