摘要: While循环的格式:while expressiondocommandcommand、、、done1、计数器控制的while循环:主要用于已经准确知道要输入的数据和字符串的数目。例子:#!/bin/bashint=1while (($int <=5 ))doecho $intlet "int++"... 阅读全文
posted @ 2015-01-20 14:36 I’m Me! 阅读(9771) 评论(0) 推荐(0) 编辑