3 ms·
For most linux distributions sure, GNU might be considered a standard. But if you want your script to work on macOS or BSD, or even for example Alpine linux, th
by messe 5y ago
For most linux distributions sure, GNU might be considered a standard. But if you want your script to work on macOS or BSD, or even for example Alpine linux, then you can't just treat GNU as standard.
- shatteredgate 5y agoAll of those systems have a way to install the GNU utils and I have seen that they all do so when compatibility is important. https://pkgs.alpinelinux.org/package/edge/main/x86_64/coreutils https://pkgs.alpinelinux.org/package/edge/main/x86_64/coreut... https://formulae.brew.sh/formula/coreutils https://formulae.brew.sh/formula/coreutils https://cgit.freebsd.org/ports/tree/sysutils/coreutils https://cgit.freebsd.org/ports/tree/sysutils/coreutils
- deleted 5y ago[deleted]