Comment

Comment by nrvn

A worse idea would be to run bash scripts adhoc without at least `set -u`.

There is an unofficial bash “strict mode”, overlooked and undervalued:

set -euo pipefail

Just use it everywhere and use shellcheck for scripts.

parent nrvn 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton