Chapter 20. Script Development Management

The need for a script development system became obvious to me when I wanted to modify scripts that were in use on a regular basis by me, by other users, or by cron jobs. I couldn't afford to have a script fail; that could result in anything from users not being able to access the system, to an invoice not being sent out.

Since I was writing scripts for three or four different operating systems, a development machine for each was out of the question. I needed a method for continuous development on the target machine. The solution I came up with used three different directories: one for developing the scripts, one for deploying them, and one for backing up each version as it was replaced with a new one.

Get Shell Scripting Recipes: A Problem-Solution Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.