Shell & PowerShell

Chapter 4: Variables, Arrays, Exit Codes & Strict Mode

Building scripts that don't silently corrupt data: environment inheritance, Bash arrays, `$?`, and `set -euo pipefail` (plus its subtle traps).