3 ms·
because many folks just want a single binary and not a full language library
by joshbaptiste 4y ago
because many folks just want a single binary and not a full language library
- pipeline_peak 4y agoIf you are using whateverq and writing a shell script, everyone else using it needs to have whateverq installed as well....
- sidpatil 4y agoUnless you bundle the whateverq alongside the shell script. Which is a primary design advantage of single small statically-built binaries.
- pipeline_peak 4y agoThat's true, but isn't that kind of a hassle on both sides?
- adolph 4y agoJust encode and append the binary to the script: https://unix.stackexchange.com/questions/450614/is-there-a-way-to-embed-an-executable-binary-in-a-shell-script-without-extra-too https://unix.stackexchange.com/questions/450614/is-there-a-w...