Shell-programming for Unix and Linux. Foundations, tools and practical scripts
[For a review of the second edition see \textit{R. Krienke}, UNIX-Shell-Programmierung (2001; Zbl 0976.68040).] This extensive introduction into shell programming first clarifies the central role of a shell as an interface to a Unix system and as a command interpreter and shortly reviews the history of common shells and variants. Two groups of shells are distinguished and handled separately in the following, namely Bourne, Bourne-Again and Korn shell, as well as C and TC shell. In any case features common to all shells are desribed first. The book has four main chapters: shells as command interpreter, shell programming, Unix utilities, and practical use of shell programming. The first of these gives a thorough introduction into command interpretation (meta characters, quoting, pipes, environment variables, sub-shells), before the two groups of shells are discussed in detail (history, arrays, common variables, options, startup-files). Many clearly designed tables admit easy access of the material. The chapter ends by comparing the characteristics of the shells. The next chapter is organized in the same way, first distinguishing shell programs from C-programs, then treating the two shell groups separately and ending with a comparison of their features. The exposition is very detailed, with many examples, covering extensively control structures, input/output, local variables, regular expressions, options, arithmetic operations, built-in programs and more. Very useful are the introductions into several important Unix-tools, namely \textit{grep/egrep}, \textit{find}, \textit{sort}, \textit{awk} and \textit{sed}, the latter two are nearly completely discussed. The application of tools within a shell script is the topic of the last chapter, which gives tips and tricks, common sources of errors, solutions to common tasks and three complete, well commented example applications. At the end a collection of most of the tables distributed across the book allows for easy reference. This very valuable volume enables the reader to easily learn and master the features of different shells and tools and to choose the right ones for his purpose.
- The usage of associative arrays in the BASH shell of Unix-type operation systems
- scientific article; zbMATH DE number 1006090 (Why is no real title available?)
- Shell programming \dots self studied. The Korn Shell in practice
- scientific article; zbMATH DE number 1156417 (Why is no real title available?)
- scientific article; zbMATH DE number 1832051 (Why is no real title available?)
- From shell logs to shell scripts
- scientific article; zbMATH DE number 757727 (Why is no real title available?)
- scientific article; zbMATH DE number 960175 (Why is no real title available?)
- scientific article; zbMATH DE number 970868 (Why is no real title available?)
This page was built for publication: Shell-programming for Unix and Linux. Foundations, tools and practical scripts
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5395201)