News for hackers. Stuff that matters.
Re:Rsync replaced with openrsync on macOS Sequoia by ElectricalUnion on Monday April 07, 2025 @01:34AM (#43608089)
Using zsh will not fix the fact that other, non-shell POSIX utilities will not suddenly have useful GNU extensions.

Also, zsh is not installed by default on most distros.

Re:Rsync replaced with openrsync on macOS Sequoia by petre on Monday April 07, 2025 @05:01AM (#43609332)
MacOS userspace was forked from FreeBSD, that's why it bundles non-GNU extensions. Also the FreeBSD userspace has since then incorporated GNUisms.

Why they went with Bash 2 as the defualt shell is beyond me. I always switched to and used Zsh which had a more recent version. Now I'm also using it on Linux and FreeBSD, because I want a consistent shell.

Re:Rsync replaced with openrsync on macOS Sequoia by Squossifrage on Monday April 07, 2025 @05:46AM (#43609553)
The macOS userspace was never forked from FreeBSD or any other BSD. If anything, it was forked from NextSTEP. In actual practice, it is a collection of individual components taken from a variety of sources. When development of Mac OS X began in 1999, most command-line tools and a large part of libc were derived from either NetBSD or OpenBSD via NextSTEP. Over the years, there has been a shift toward FreeBSD. Apple maintain a collection of GitHub repositories of their Open Source components where you can see the evolution from one release to the next. Most of them have XML metadata indicating the origin of each individual component.
Re:Rsync replaced with openrsync on macOS Sequoia by wkat4242 on Monday April 07, 2025 @06:13AM (#43609683)
Apple no longer ships bash 2. They moved to zsh also a few years ago.

The reason was the same as here: bash moved to GPL v3.

Re:Rsync replaced with openrsync on macOS Sequoia by Squossifrage on Wednesday April 09, 2025 @12:08PM (#43633669)
Incorrect. They default to zsh for interactive use, but their /bin/sh is bash 2. They also ship a copy of dash, but it's not sufficiently POSIX-conforming to replace bash.
Re:Rsync replaced with openrsync on macOS Sequoia by wkat4242 on Thursday April 10, 2025 @03:14PM (#43647156)
Huh weird, I remember many years ago getting a notification in the terminal that bash would be deprecated so I assumed that would have happened by now. I no longer use macs so I wasn't up to date, sorry.
Re:Rsync replaced with openrsync on macOS Sequoia by everfrustrated on Monday April 07, 2025 @06:16AM (#43609697)
I would argue that POSIX is long dead. The real standard is Linux (GNU) compatibility and has been for a while now.
Re:Rsync replaced with openrsync on macOS Sequoia by bentley on Monday April 07, 2025 @06:57AM (#43609906)
As an OpenBSD developer who frequently fixes portability issues in external software, this doesn’t match my experience. Upstream developers are typically happy to merge patches to improve POSIX compliance; often the result is simpler than their existing kludges attempting to support desired platforms like MacOS, Alpine/Musl, Android, Dash-as-sh, and various BSDs. It turns out a lot of people find value in relying on an agreed‐upon behavior that’s explicitly documented, rather than “this seems to work at the moment on the two or three distros I’ve tested.”