style

Bash with Style

an opinionated Bash Styleguide


Introduction

The following is an opinionated styleguide for bash scripts, written after 20+ years of bash scripting. Where relevant, justification for each guideline is detailed.

It is licensed under the Creative Commons Attribution 4.0 International license. For more information, see LICENSE / COPYING or visit https://creativecommons.org/licenses/by/4.0/ .

For a list of the main author(s), and other contributors, see AUTHORS and CONTRIBUTORS respectively.

For more information on contributing (new feature, bug fix, pull request etc), please see CONTRIBUTING .