#!/bin/sh
set -euo pipefail
thanks, @b0rk - I've been writing shell for 25+ years and wish I'd been doing this 25+ years ago.
@darkuncle
One I find really helpful (but missing here) is 'set -x', that prints every line during execution.
@b0rk
@panda @darkuncle @b0rk after expanding all the variables too iirc
This is the companion community to the Green Plenty substack