test.sh:
#!/bin/sh for tmp in aa bb cc dd ee do echo $tmp done # 只运行一次,直接输出 for tmp in "ff gg hh ii" do echo $tmp done
输出:
[root@localhost shell]# ./test.sh aa bb cc dd ee ff gg hh ii
阅读: 19826
阅读: 16958 评论:1
阅读: 16072
阅读: 15972
阅读: 15539
阅读: 15301
扫扫关注微信