Chapter 10. Output Control

The vocabulary you have at this point in your life is not the same as it was many years ago. The style and content of your speech has matured. Likewise, the way you produce output in your scripts has matured since the start of this book. You began by using the echo command almost exclusively. As you continued to mature as a script writer, you began using the more sophisticated, portable, and efficient print statement.

You also went from the vanilla style of placing output on your terminal to using various forms of redirection to better achieve the goals of your scripts. Have you reached full maturation? Is there no further improvement possible on the styles and techniques you already have seen?

This chapter examines ...

Get Korn Shell Programming by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.