summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--software/bash.page6
1 files changed, 6 insertions, 0 deletions
diff --git a/software/bash.page b/software/bash.page
index 435176d..5c81d3f 100644
--- a/software/bash.page
+++ b/software/bash.page
@@ -36,3 +36,9 @@ I frequently add a one-line version of the following to shell scripts:
Note that `join`, `grep`, and others sometimes exit non-zero return codes on
purpose (eg, pipe input closed or found no matches, as expected), which makes
life difficult. Sometimes `|| true` is enough to get around this.
+
+## General Style
+
+Google has a style guide: https://google.github.io/styleguide/shell.xml
+
+Shellcheck is a lint tool: https://www.shellcheck.net/