Last active
April 16, 2020 16:09
-
-
Save brandongalbraith/475a1ed1b895c33373ebdb8c6f271b79 to your computer and use it in GitHub Desktop.
So You're Writing Some Bash #bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
set -euo pipefail |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First two lines: https://ashishb.net/all/the-first-two-statements-of-your-bash-script-should-be/
Bash FAQ: https://mywiki.wooledge.org/BashFAQ/
Check your work to prevent footguns: https://www.shellcheck.net/
Hacker News thread with valuable insights: https://news.ycombinator.com/item?id=22027809