News for hackers. Stuff that matters.
Re:Show HN: Tuc – When cut doesn’t cut it by carlhjerpe on Monday June 13, 2022 @05:31PM (#31732034)
Does it really matter though? You can just alias them over the originals or something close-by.
Re:Show HN: Tuc – When cut doesn’t cut it by apgwoz on Monday June 13, 2022 @08:15PM (#31733300)
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…
Re:Show HN: Tuc – When cut doesn’t cut it by carlhjerpe on Tuesday June 14, 2022 @03:18AM (#31735737)
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 :)