Chris F.A. Johnson
Shell Scripting Recipes is a collection of more than 200 scripts and functions. They run the gamut from file manipulation to downloading mail, from statistical calculations to databases.
Some scripts in this book are taken from the hundreds I've written since 1990, while others were written specifically for this book. I selected them not only to demonstrate the breadth of problems that can be solved with shell scripts, but also to illustrate as many scripting techniques as possible.
I hope this book will help you solve the many problems illustrated by these scripts, and also encourage and help you to write your own.
1 | The POSIX Shell and Command-Line Utilities |
2 | Playing with Files: Viewing, Manipulating, and Editing Text Files |
3 | String Briefs |
4 | What's in a Word? |
5 | Scripting by Numbers |
6 | Loose Names Sink Scripts: Bringing Sanity to Filenames |
7 | Treading a Righteous PATH |
8 | The Dating Game (Sample chapter) |
9 | Good Housekeeping: Monitoring and Tidying Up File Systems |
10 | POP Goes the E-Mail |
11 | PostScript: More Than an Afterthought |
12 | Screen Manipulation: |
13 | Backing Up the Drive |
14 | Aging, archiving and deleting files |
15 | Covering All Your Databases |
16 | Home on the Web |
17 | Taking Care of Business |
18 | Random Acts of Scripting |
19 | A Smorgasbord of Scripts |
20 | Script development management |