摘要: 数组In the last chapter, we looked at how the shell can manipulate strings and numbers.The data types we have looked at so far are known... 阅读全文
posted @ 2018-07-13 09:55 绿叶萌飞 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 奇珍异宝In this, the final chapter of our journey, we will look at some odds and ends.While we have certainly covered a lot of ground in t... 阅读全文
posted @ 2018-07-13 09:55 绿叶萌飞 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 字符串和数字Computer programs are all about working with data. In past chapters, we have focused onprocessing data at the file level. Howeve... 阅读全文
posted @ 2018-07-13 09:54 绿叶萌飞 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 流程控制:for 循环In this final chapter on flow control, we will look at another of the shell’s looping constructs.The for loop differs from ... 阅读全文
posted @ 2018-07-13 09:54 绿叶萌飞 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 位置参数One feature that has been missing from our programs is the ability to accept and processcommand line options and arguments. In thi... 阅读全文
posted @ 2018-07-13 09:54 绿叶萌飞 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 流程控制:case 分支In this chapter, we will continue to look at flow control. In Chapter 28, we constructedsome simple menus and built the lo... 阅读全文
posted @ 2018-07-13 09:53 绿叶萌飞 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 疑难排解As our scripts become more complex, it’s time to take a look at what happens whenthings go wrong and they don’t do what we want. I... 阅读全文
posted @ 2018-07-13 09:53 绿叶萌飞 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 流程控制:while/until 循环In the previous chapter, we developed a menu-driven program to produce various kindsof system information. The prog... 阅读全文
posted @ 2018-07-13 09:52 绿叶萌飞 阅读(267) 评论(0) 推荐(0) 编辑