Chapter 11. Diagnostics

Now that you have a grip on the bulk of a script writer's tools, you are ready to march off into the world of Korn Shell scripts, write your masterpieces and never make any mistakes or get confused by the shell's peccadilloes! If that's what you are thinking, it's time to eat a reality cookie. Reality cookies are what I eat (or feed my readers) when laboring under false assumptions.

The reality is that script writing is a creative process. And in any creative process there will be some false starts, errors, and even some disasters. Do you think Picasso's trash bin was forever empty? This chapter provides some tools to help debug your masterpieces. Oh, and they will help with any nonmasterpiece scripts you create as well. ...

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.