Chapter 1. THE MISSING CODE LIBRARY

Unix's greatest strength is that it lets you create new commands by combining old ones in unique and novel ways. However, although Unix includes hundreds of commands and there are thousands of ways to combine them, you will still encounter situations in which nothing does the job quite right. This chapter focuses on scripts that allow you to create smarter and more sophisticated programs within the constraints of shell scripts.

There's a secret that we should address up front: The shell script programming environment isn't as sophisticated as a real programming environment. Perl, Python, and even C have structures and libraries that offer extended capabilities, but shell scripts are more of a "roll your own" ...

Get Wicked Cool Shell Scripts 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.