Comment

Comment by burnt-resistor

Too damn verbose and you're assuming bash is at /bin. This will cause problems in nix and other environments where bash should be found on the path instead.

Always, always unless the script is guaranteed to not be portable to other platforms:

    #!/usr/bin/env bash
    ...

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton