Chris F.A. Johnson
Unix shell programming notes

25 May 2005

Shell Scripting Recipes:
A Problem-Solution Approach

This book is a collection of more than 200 (mostly POSIX) shell scripts and functions. They run the gamut from file manipulation to downloading email, 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.

Table of Contents

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

Google preview

Purchase from,

All the scripts are available in a compressed tar file

Modified 17 Nov 2011