Abstract
As a programming language, the Bourne shell has been discussed partly in Chapter 9. In order to program more advanced scripts, it is necessary to learn more statements and commands that can be used to program. In this chapter, the discussion on program control flow statements will be continued, which includes case, while, until, break, and continue statements. Except these statements, there are some more topics: how to process numeric data, the Bourne shell support of functions, and how to debug shell scripts.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bourne SR (1978) The UNIX shell. Bell Syst Tech J 57(6) Part 2, pp 1971–1990
Bourne SR (1983) The UNIX system. Addison-Wesley, Reading, Massachusetts
Joy WN (1980) An introduction to the C shell. UNIX Programmer’s Manual, 4.2 Berkeley Software Distribution. Computer Systems Research Group, Depat. of Electrical Engineering and Computer Science, Univ. of California, Berkeley, Aug, 1980
Korn D (1983) KSH — a shell programming language. USENIX Conference Proceedings, Toronto, Ontario, June 1983, pp 191–202
Rosenblatt B, Robbins A (2002) Learning the Korn shell, 2nd edn. O’Reilly & Associates, Sebastopol.
Sarwar SM, Koretesky R, Sarwar SA (2006) UNIX: the textbook, 2nd edn. China Machine Press, Beijig
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2011 Higher Education Press, Beijing and Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Liu, Y., Yue, Y., Guo, L. (2011). How to Program in Bourne Shell (2). In: UNIX Operating System. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-20432-6_10
Download citation
DOI: https://doi.org/10.1007/978-3-642-20432-6_10
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-20431-9
Online ISBN: 978-3-642-20432-6
eBook Packages: Computer ScienceComputer Science (R0)