3 ms·
Seems to me, that to some Linux has come to mean all things Unix-ly
by arka2147483647 1y ago
Seems to me, that to some Linux has come to mean all things Unix-ly
- pasc1878 1y agoYes it seems to be misused that wat - now just try to rerun scripts on macOS or BSD when the author thinks Linux is all there is.
- Maken 1y agoThat's usually caused by assuming that everything is bash, which is not true even for Linux.
- mdaniel 1y agoWhile that may certainly arise if someone is lazy about #!/bin/sh when they didn't really mean /bin/sh I'd bet it's /bin/sed and similar friends that are different between the GNU versions and the BSD versions. So much make-macro-trickery out there when one is trying to use -i without a backup suffix, and I have no idea why GNU tried to be a trailblazer with their parsing :(
- pasc1878 1y agoYes - I come from an era when I used multiple Unixes and for several of them default shell was (t)csh. Don't assume anything in shells except POSIX sh. Unfortunately there are people who think Linux is the only way.