Personal tools
You are here: Home Docs Help! Reference Manuals Bash Guide for Beginners Bash and Bash scripts Developing good scripts Properties of good scripts

1.5.1. Properties of good scripts

Up one level
-

This guide is mainly about the last shell building block, scripts. Some general considerations before we continue:

  1. A script should run without errors.

  2. It should perform the task for which it is intended.

  3. Program logic is clearly defined and apparent.

  4. A script does not do unnecessary work.

  5. Scripts should be reusable.

(no ads!)