摘要: 读取键盘输入The scripts we have written so far lack a feature common in most computer programs —interactivity. That is, the ability of the p... 阅读全文
posted @ 2018-07-12 11:34 绿叶萌飞 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 流程控制:if 分支结构In the last chapter, we were presented with a problem. How can we make our reportgenerator script adapt to the privileges ... 阅读全文
posted @ 2018-07-12 11:33 绿叶萌飞 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 自顶向下设计As programs get larger and more complex, they become more difficult to design, codeand maintain. As with any large project, it i... 阅读全文
posted @ 2018-07-12 11:33 绿叶萌飞 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 启动一个项目Starting with this chapter, we will begin to build a program. The purpose of this projectis to see how various shell features ar... 阅读全文
posted @ 2018-07-12 11:32 绿叶萌飞 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 编写第一个 Shell 脚本In the preceding chapters, we have assembled an arsenal of command line tools. Whilethese tools can solve many kinds of ... 阅读全文
posted @ 2018-07-12 11:32 绿叶萌飞 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 编译程序In this chapter, we will look at how to build programs by compiling source code.The availability of source code is the essential f... 阅读全文
posted @ 2018-07-12 11:31 绿叶萌飞 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 打印After spending the last couple of chapters manipulating text, it’s time to put that text on paper. In this chapter, we’ll look at th... 阅读全文
posted @ 2018-07-12 11:31 绿叶萌飞 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 格式化输出In this chapter, we continue our look at text related tools, focusing on programs that areused to format text output, rather than... 阅读全文
posted @ 2018-07-12 11:30 绿叶萌飞 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 文本处理All Unix-like operating systems rely heavily on text files for several types of datastorage. So it makes sense that there are many... 阅读全文
posted @ 2018-07-12 11:29 绿叶萌飞 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 正则表达式In the next few chapters, we are going to look at tools used to manipulate text. As wehave seen, text data plays an important rol... 阅读全文
posted @ 2018-07-12 11:29 绿叶萌飞 阅读(160) 评论(0) 推荐(0) 编辑