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 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.