Hacker News new | ask | show | jobs
by lillecarl 1471 days ago
Does it really matter though? You can just alias them over the originals or something close-by.
1 comments

Yes, you can do that. But that exasperates the system portability problem. The real solution is for some distro to, gasp, decide that POSIX compatibility can be done with utilities in /opt/posix (or something) and do widespread replacement by default. But that’ll never happen…
In your scripts you can use "/usr/bin/env cat" to get whichever version of cat is first in your PATH. NixOS abuses this to an almost silly level :)