最新 最热

第三十七章 : 奇珍异宝

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 the previous chapters,there are...

2023-05-06
1

第三十六章 : 数组

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 in computer science circles...

2023-05-06
0

第三十五章 : 字符串和数字

Computer programs are all about working with data. In past chapters, we have focused onprocessing data at the file level. However, many programming problems nee...

2023-05-06
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 the while and until loops in that it ...

2023-05-06
1

第三十三章 : 位置参数

One feature that has been missing from our programs is the ability to accept and processcommand line options and arguments. In this chapter, we will examine the...

2023-05-06
0

第三十二章 : 流程控制:case 分支

In this chapter, we will continue to look at flow control. In Chapter 28, we constructedsome simple menus and built the logic used to act on a user’s selection....

2023-05-06
1

第三十一章 : 疑难排解

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. In this chapter, we’ll look ats...

2023-05-06
0

第三十章 : 流程控制:while/until 循环

In the previous chapter, we developed a menu-driven program to produce various kindsof system information. The program works, but it still has a significant usa...

2023-05-06
1

第二十九章 : 读取键盘输入

The scripts we have written so far lack a feature common in most computer programs —interactivity. That is, the ability of the program to interact with the user...

2023-05-06
0

第二十八章 : 流程控制:if 分支结构

流程控制:if 分支结构In the last chapter, we were presented with a problem. How can we make our reportgenera

2023-05-06
1