~/talk

Maintainable Bash Scripting

links:none on file
slides:none on file

Concrete, actionable patterns for real scripts: use boolean simplifications with && and ||, replace repeated echo with here documents, prefer local variables and declare -r for globals, avoid positional arguments in favor of named parameters parsed with shift (helper parses offered), return data on stdout and parse JSON with jq, check status codes and use set -e/-x for debugging, make each step idempotent, put scripts on PATH, and follow practice exercises in the repository.

AI-written summary · about

  1. 0:00Maintainable Bash Scripting
  2. 9:27Simplifications
  3. 15:10Variable Scope
  4. 18:21Order of Operations
  5. 22:50Returning Values
  6. 25:27Writing Effective Functions
  7. 35:56General Advice
  8. 38:27Questions?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.