This goes about compatibility a bit differently than #8. It makes itself compatible with dash instead of forcing bash. Forcing bash is fine, but fixing compatibility was a trivial change and improved readability. This also swaps to xxd unconditionally. It seems there are many copies of xxd floating between distributions, but all seem very old. Even Alpine has xxd, so it seems pretty safe.
In related news, TIL that cc65 is available on Ubuntu via a simple apt install cc65.
This goes about compatibility a bit differently than #8. It makes itself compatible with dash instead of forcing bash. Forcing bash is fine, but fixing compatibility was a trivial change and improved readability. This also swaps to xxd unconditionally. It seems there are many copies of xxd floating between distributions, but all seem very old. Even Alpine has xxd, so it seems pretty safe.
In related news, TIL that cc65 is available on Ubuntu via a simple
apt install cc65
.CC @rib, @TGGC