Bash(.sh) code conventions:

General

  • Try your best to maintain 80 characters per line. (not a strict rule)

Identifiers

  • gmash functions : prefix [gmash_]
  • gmash global vars : prefix [GMASH_]
  • local function input vars : prefix [_]
  • local vars : postfix [_]

This site uses Just the Docs, a documentation theme for Jekyll.