Shell script templates [closed]
What would be your suggestions for a good bash/ksh script template to use as a standard for all newly created scripts? I usually start (after the #! line) with a commented-out header with a filename, synopsis, usage, return values, author(s), changelog and would fit into 80-char lines. All documentation lines I start with double-hash symbols ## so I can grep for them easily and local var names are prepended with "__". Any other best practices? Tips? Naming conventions? What about return codes? Comments on version control : we use SVN all right, but another dept in the enterprise has a separate