News for hackers. Stuff that matters.
Re:MinC Is Not Cygwin by arka2147483647 on Wednesday April 23, 2025 @06:31AM (#43770489)
Seems to me, that to some Linux has come to mean all things Unix-ly
Re:MinC Is Not Cygwin by pasc1878 on Wednesday April 23, 2025 @08:03AM (#43771118)
Yes 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.
Re:MinC Is Not Cygwin by Maken on Wednesday April 23, 2025 @08:49AM (#43771523)
That's usually caused by assuming that everything is bash, which is not true even for Linux.
Re:MinC Is Not Cygwin by mdaniel on Wednesday April 23, 2025 @09:49AM (#43772186)
While 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 :(
Re:MinC Is Not Cygwin by pasc1878 on Thursday April 24, 2025 @07:06AM (#43781261)
Yes - 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.