别想万里,要把一只脚放到另一脚的前边
发布时间:2013-12-29 11:46:34
点击(此处)折叠或打开Bash 数组及操作 Bash中,数组变量的赋值有两种方法: (1) name = (value1 ... valuen) 此时下标从0开始 (2) name[index] = value 下面以一个简单.........【阅读全文】
发布时间:2013-12-27 16:31:54
Chapter 13. Arithmetic ExpansionArithmetic expansion provides apowerful tool for performing (integer) arithmeticoperations in scripts. Translating a string into anumerical expression is relatively straightforward using backticks, doubleparentheses, or let.VariationsAr.........【阅读全文】
发布时间:2013-12-26 16:36:51
Commands affecting loop behaviorbreak, continue The break command terminates the loop (breaks out of it), while continue causes a jump to the next iteration of the loop, skipping all the remaining commands in that particular loop cycle. break: 结束循环; con.........【阅读全文】