2 ms·
> Posix shell-compatible scripts will also likely work on all platforms where you go program would've been run. While I see your point, writing a Posix compati
by bqmjjx0kac 2y ago
> Posix shell-compatible scripts will also likely work on all platforms where you go program would've been run.
While I see your point, writing a Posix compatible shell script is not trivial. Little errors creep in that "work on my machine" because /bin/sh is a symlink to /bin/bash, but break the script when someone runs it on macOS.
In my experience, you get a lot of cross-platform compatibility when writing Go for zero effort.