摘要:
读取键盘输入The scripts we have written so far lack a feature common in most computer programs —interactivity. That is, the ability of the p... 阅读全文
摘要:
流程控制:if 分支结构In the last chapter, we were presented with a problem. How can we make our reportgenerator script adapt to the privileges ... 阅读全文
摘要:
自顶向下设计As programs get larger and more complex, they become more difficult to design, codeand maintain. As with any large project, it i... 阅读全文
摘要:
启动一个项目Starting with this chapter, we will begin to build a program. The purpose of this projectis to see how various shell features ar... 阅读全文
摘要:
编写第一个 Shell 脚本In the preceding chapters, we have assembled an arsenal of command line tools. Whilethese tools can solve many kinds of ... 阅读全文
摘要:
编译程序In this chapter, we will look at how to build programs by compiling source code.The availability of source code is the essential f... 阅读全文
摘要:
打印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... 阅读全文
摘要:
格式化输出In this chapter, we continue our look at text related tools, focusing on programs that areused to format text output, rather than... 阅读全文
摘要:
文本处理All Unix-like operating systems rely heavily on text files for several types of datastorage. So it makes sense that there are many... 阅读全文
摘要:
正则表达式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... 阅读全文