Skip to main content

How to Program in Bourne Shell (2)

  • Chapter
UNIX Operating System
  • 4330 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

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

    Google Scholar 

  • Bourne SR (1983) The UNIX system. Addison-Wesley, Reading, Massachusetts

    Google Scholar 

  • 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

    Google Scholar 

  • Korn D (1983) KSH — a shell programming language. USENIX Conference Proceedings, Toronto, Ontario, June 1983, pp 191–202

    Google Scholar 

  • Rosenblatt B, Robbins A (2002) Learning the Korn shell, 2nd edn. O’Reilly & Associates, Sebastopol.

    Google Scholar 

  • Sarwar SM, Koretesky R, Sarwar SA (2006) UNIX: the textbook, 2nd edn. China Machine Press, Beijig

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics