Shell [Scripting] Style Guide

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • CodiumAI - TestGPT | Generating meaningful tests for busy devs
  • pure-sh-bible

    📖 A collection of pure POSIX sh alternatives to external processes.

    `set --` before running a command can be used to remove all excess whitespace (making parsing dead easy).

    And last but not least always using printf instead of echo makes your scripts 1000x cooler :)

    0. https://github.com/dylanaraps/pure-sh-bible

  • pure-bash-bible

    📖 A collection of pure bash alternatives to external processes.

  • ONLYOFFICE

    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • ShellCheck

    ShellCheck, a static analysis tool for shell scripts

    Following a style guideline is really important in scripts. But, having your scripts checked by ShellCheck [1] is really mandatory. Can’t imagine to write any script without it.

    [1] https://www.shellcheck.net/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts