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
阅读: 23495
阅读: 21159
阅读: 20241 评论:1
阅读: 19234
阅读: 18643
阅读: 18514
扫扫关注微信