News for hackers. Stuff that matters.
Re:Wine Ported to OpenBSD by greyw on Monday October 19, 2026 @11:44AM (#50153828)
I mean OpenBSD's utils cant even match GNU's coreutils so I think they have bigger problems
Re:Wine Ported to OpenBSD by ninjin on Monday October 19, 2026 @11:46AM (#50153857)
"Can't even match GNU's coreutils"? Care to elaborate? Last time I checked OpenBSD is pretty much in line with Posix and there are plenty of us that consider many of the GNU extensions to be anti-features.
Re:Wine Ported to OpenBSD by greyw on Monday October 19, 2026 @11:51AM (#50153915)
Thats exactly what I mean. I dont care about Posix or the whining about "anti-features". The BSD stuff is a clear subset that doesnt get the job done.

Posix is more an art form documenting the far gone past rather than a practical tool

Re:Wine Ported to OpenBSD by ninjin on Monday October 19, 2026 @11:57AM (#50153988)
"[Doesn't] get the job done"? Well, it gets my job done. You are welcome to use whatever you subjectively prefer (I use GNU's date(1) for a few scripts, but would prefer the English date grammar parsing as a tool of its own), but if you are unable to talk about anything in concrete terms there is not point in trying to discuss in good faith and I will just roll my eyes and move on.
Re:Wine Ported to OpenBSD by Calavar on Monday October 19, 2026 @12:36PM (#50154511)
What are some GNU coreutil extensions that you find you can't live without?
Re:Wine Ported to OpenBSD by LtWorf on Monday October 19, 2026 @12:38PM (#50154538)
The conventions for the long parameters on the command line.
Re:Wine Ported to OpenBSD by pjmlp on Monday October 19, 2026 @03:47PM (#50157141)
Dunno, since learning Xenix in 1993, I got plenty of work done in UNIX clones.
Re:Wine Ported to OpenBSD by mahboi on Monday October 19, 2026 @12:46PM (#50154647)
I use a Mac, so the CLIs are the BSD versions. I don't have any opinion on which is better, but it's just annoying that it's different from GNU, so a lot of my work ends up being on a Linux VM or server instead. POSIX compliance doesn't seem to buy me anything. I like the BSD license though.
Re:Wine Ported to OpenBSD by thesuitonym on Monday October 19, 2026 @04:07PM (#50157390)
POSIX compliance doesn't buy you anything because you're trying to use GNU extensions, which aren't in POSIX.
Re:Wine Ported to OpenBSD by mahboi on Monday October 19, 2026 @04:21PM (#50157549)
I'm not trying to. And it's not even like GNU/Linux/whatever is a superset of POSIX and I'm using the extensions. There are mutual differences in basic functionality.
Re:Wine Ported to OpenBSD by jonhohle on Monday October 19, 2026 @02:11PM (#50155815)
The GNU versions work fine in macOS. Apple doesn’t want to distribute them, but that’s mean you can’t use them.
Re:Wine Ported to OpenBSD by duskwuff on Monday October 19, 2026 @03:31PM (#50156929)
> Apple doesn’t want to distribute them

Apple can't distribute them - coreutils is GPLv3, which is incompatible with Apple's immutable system volume.

Re:Wine Ported to OpenBSD by Kwpolska on Monday October 19, 2026 @05:08PM (#50158101)
That's a brand new excuse, Apple refused to distribute GPLv3 when GPLv3 was first published, 20ish years ago. How is GPLv3 incompatible with their system volume, yet GPLv2 is still fine?
Re:Wine Ported to OpenBSD by duskwuff on Monday October 19, 2026 @06:25PM (#50158880)
GPLv3 added language which specifically requires that GPLv3 software embedded in products be distributed with "Installation Information" explaining how modified versions of that software can be installed. It is not at all clear how this would apply to software in an immutable, signed system volume. This language was not present in GPLv2.

https://www.gnu.org/licenses/gpl-3.0.en.html#section6

(There are other issues with GPLv3 which make it a dubious choice for companies like Apple, but this one is particularly problematic.)

Re:Wine Ported to OpenBSD by literallywho on Monday October 19, 2026 @09:11PM (#50160123)
These are issues with companies like Apple, not GPLv3. The only problem with GPLv3 is it’s not restrictive enough.
Re:Wine Ported to OpenBSD by bigstrat2003 on Monday October 19, 2026 @11:00PM (#50160844)
You're entitled to your opinion, but that doesn't change the fact that the situation is "Apple can't distribute them", not "Apple doesn't want to distribute them".
Re:Wine Ported to OpenBSD by Zambyte on Tuesday October 20, 2026 @08:03AM (#50165022)
Continuing to "correct" "want" to "can't" doesn't make sense, even under your interpretation of the situation. Even assuming the GPLv3 requires all software on the machine to ship under a compatible license (it doesn't), they can do that. They don't want to.
Re:Wine Ported to OpenBSD by mahboi on Tuesday October 20, 2026 @12:29PM (#50168878)
Spare me
Re:Wine Ported to OpenBSD by mahboi on Monday October 19, 2026 @05:14PM (#50158169)
This isn't new, GPLv2 is somehow compatible. This is the entire reason Mac OS ships an old version of bash but recent git.
Re:Wine Ported to OpenBSD by mahboi on Monday October 19, 2026 @03:20PM (#50156760)
Of course, but any script meant for Mac is going to assume Mac core utils, even assume zsh instead of bash. You don't want to be the one person on the team with a non-stock setup.
Re:Wine Ported to OpenBSD by collinfunk on Monday October 19, 2026 @02:22PM (#50155960)
> The GNU versions work fine in macOS. Apple doesn’t want to distribute them, but that’s mean you can’t use them.

We also test GNU coreutils on macOS. It is a bit tricky since the other maintainers and I don't own any macOS machines for testing. But we seem to do well enough with a shared system that Adélie Linux kindly allows the compile farm [1] to use, along with some additional CI machines.

[1] https://portal.cfarm.net/

Re:Wine Ported to OpenBSD by LeFantome on Tuesday October 20, 2026 @11:32PM (#50175749)
The BSD ones also work on Linux.
Re:Wine Ported to OpenBSD by frumplestlatz on Monday October 19, 2026 @02:26PM (#50156013)
If you stick to POSIX, things generally work everywhere. It's not really a question of what is better, just what is portable.
Re:Wine Ported to OpenBSD by mahboi on Monday October 19, 2026 @03:27PM (#50156871)
I don't know how compatible my Mac will really be with a Free/OpenBSD machine. Last time I tested this theory, some C code I was building on Mac clang didn't build on FreeBSD clang cause I was unknowingly using some extension enabled by default. But that was about 12 years ago.
Re:Wine Ported to OpenBSD by Y_Y on Monday October 19, 2026 @02:48PM (#50156306)
Sounds like it's Apple who's behind
Re:Wine Ported to OpenBSD by mahboi on Monday October 19, 2026 @03:22PM (#50156781)
In some cases they are, but that's not the cause for the mismatch vs GNU.
Re:Wine Ported to OpenBSD by thomashabets2 on Monday October 19, 2026 @02:10PM (#50155800)
I am not the parent commenter, but I have the same sense that the GNU ones are better.

But the only concrete example I can think of is that `cat -n a b`, if `a` doesn't end in a newline, produces something that is obviously not what the user wanted. GNU cat does it right.

I didn't report it to the openbsd people because I didn't want them to yell at me that `-n` is nonstandard anyway with no "right" behavior, so I should STFU. Which would be what I'd expect from having reported problems in the past.

Re:Wine Ported to OpenBSD by avadodin on Tuesday October 20, 2026 @05:08AM (#50163267)
I think the behavior in the GNU clone is more consistent with "we added line numbers to the concatenation tool" while whoever added it to OpenBSD's ancestry was probably more concerned with generating listings for printing.

Personally, I'd remove even the POSIX [-u] flag from all cat versions because all of them are un-UNIX-like.

Some GNU tools are particularly ridiculous with the Easter egg features I only know about because LLMs use them all the time —and I have been using Linux for 30 years.

Re:Wine Ported to OpenBSD by thomashabets2 on Wednesday October 21, 2026 @05:16AM (#50177959)
> whoever added it to OpenBSD's ancestry was probably more concerned with generating listings for printing.

The restarting of the counter on OpenBSD is not what concerns me. The merging of the first file's last line with the second file's first line is.

Re:Wine Ported to OpenBSD by avadodin on Wednesday October 21, 2026 @05:52AM (#50178227)
Because you don't like the design(I don't either) but it carries information.

Someone could have thought it was a good idea and no one was willing to audit all of UCB's scripts to fix the "bug" even if it had been the result of a lazy implementation because ed(1) on a terminal.

Re:Wine Ported to OpenBSD by thomashabets2 on Wednesday October 21, 2026 @06:48AM (#50178766)
My choice of wording is from my assumption that nobody, at any point, actually wanted that behaviour. And I stand by that being a pretty safe bet.

So I wouldn't refer to it as "the design". It's not that the methods are unsound, it's that I don't see any method at all.

As for not wanting to break existing scripts, OpenBSD is not even remotely as concerned about backwards compatibility as Linux is. I don't mean that in a derogatory way. It's a perfectly cromulent choice.

Re:Wine Ported to OpenBSD by Quitschquat on Monday October 19, 2026 @12:05PM (#50154087)
I think that's a cultural thing in *BSD.
Re:Wine Ported to OpenBSD by 0c3ca83 on Monday October 19, 2026 @01:20PM (#50155162)
That's kind of like saying that the MacOS UI can't even keep up with Microsoft Windows. Who wants inconsistent GNU halfassery?