Chinaunix首页 | 论坛 | 博客
  • 博客访问: 333814
  • 博文数量: 115
  • 博客积分: 1019
  • 博客等级: 准尉
  • 技术积分: 1104
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-22 15:02
个人简介

别想万里,要把一只脚放到另一脚的前边

文章分类

全部博文(115)

文章存档

2018年(1)

2015年(2)

2014年(31)

2013年(38)

2012年(43)

我的朋友

发布时间:2013-12-29 11:46:34

点击(此处)折叠或打开Bash 数组及操作 Bash中,数组变量的赋值有两种方法:  (1) name = (value1 ... valuen) 此时下标从0开始  (2) name[index] = value  下面以一个简单.........【阅读全文】

阅读(592) | 评论(1) | 转发(0)

发布时间: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.........【阅读全文】

阅读(459) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(343) | 评论(0) | 转发(0)

发布时间:2013-12-26 15:46:46

不积跬步,无以至千里。一天做好三件:        必须做的。        只有做完第一个,才能做的。        奖励一个人一天能做的事情有限。平均来算,一个人能够活 29000 天,如果你已经 30 岁了,那意味着.........【阅读全文】

阅读(466) | 评论(0) | 转发(0)

发布时间:2013-12-26 15:37:31

点击(此处)折叠或打开1.2. Nested LoopsA nested loop is a loop within a loop, an inner loop within the body of an outer one. How this works is that the first pass of the outer loop triggers the inner loop, which executes to completion. Then the s.........【阅读全文】

阅读(361) | 评论(1) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册