摘要: #!/bin/bash set 'apple pie' pears peaches for i in $* /*单引号被去掉,循环单个字符输出*/ do echo $i done [root@luozhonghua Ex_14.02-14.31]# sh 14-14-1 ap... 阅读全文
posted @ 2014-08-09 21:34 172257861 阅读(123) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash set 'apple pie' pears peaches for i in $* /*单引号被去掉,循环单个字符输出*/ do echo $i done [root@luozhonghua Ex_14.02-14.31]# sh 14-14-1 ap... 阅读全文
posted @ 2014-08-09 21:34 172257861 阅读(121) 评论(0) 推荐(0) 编辑