News for hackers. Stuff that matters.
Re:Chimera Linux by krupan on Sunday December 17, 2023 @01:14AM (#38670750)
If you are along time GNU user (meaning GNU grep, sed, less, awk, find, tar, etc., etc.) this will be way more frustrating than you realize to use. Having lived in the UNIX days, I can still remember the subtle differences in all the command-line tools driving me nuts. This is actually how the GNU tools became popular even before Linux was a thing, you could install them on irix, hpux, sun, any UNIX, and you wouldn't have to deal with the quirky differences between hpux grep and irix grep (for example).
Re:Chimera Linux by pjmlp on Sunday December 17, 2023 @03:57AM (#38671407)
I do confess having installed the GNU ports on Solaris multiple times.

Unfortunely Aix and HP-UX servers were out of my control, thus scripts had to stay POSIX compatible for anything that had to run across all our servers, or written in Perl.

Re:Chimera Linux by simonh on Sunday December 17, 2023 @04:40AM (#38671638)
Oh sure, I still remember getting my first 1/4” tape of the GNU tools source code through the post. This is why it’s so hilarious to me when the kids nowadays complain that MacOS has different command line tools to Linux. “Why can’t they just use GNU?”.

Get off my lawn! ;)

Re:Chimera Linux by pjmlp on Sunday December 17, 2023 @05:23AM (#38671838)
Also why when on a macOS system I never felt the urge to install Homebrew or something similar, it is just another UNIX flavour.
Re:Chimera Linux by maleldil on Sunday December 17, 2023 @08:13AM (#38672626)
How do you usually install software? Always building from source?

It's interesting to say that it's "just another UNIX flavour" when the most common flavours today all have some form of package management.

Re:Chimera Linux by pjmlp on Sunday December 17, 2023 @11:45AM (#38674079)
Turns out there is plenty of commercial software, and UNIX tools in the box are more than enough for my workflows.
Re:Chimera Linux by Naijoko on Sunday December 17, 2023 @10:48PM (#38679054)
isnt the macos system called NOT UNIX ? ^.^
Re:Chimera Linux by pjmlp on Monday December 18, 2023 @01:40AM (#38679856)
Re:Chimera Linux by lproven on Tuesday December 19, 2023 @09:46AM (#38696130)
Apple macOS is a UNIX™ and has been for decades, both in Arm and x86 implementations, and before that in PowerPC form.

Two Linux distros, both derived from CentOS Linux, have also held certification in the past.

Whether an OS is a UNIX™ or not is nothing to do with whether it is based on AT&T code and has not been since Novell bought AT&T Unix Labs and donated the trademark to the Open Group in 1993. For three decades, whether it's a Unix or not depends solely on whether it passes Unix compatibility testing.

Linux is a Unix and so is macOS.

Re:Chimera Linux by LeFantome on Sunday December 17, 2023 @01:34PM (#38675113)
Ironically, BSD was already available when GNU was created. Since that is what macOS uses, I guess the question could be “why didn’t everybody just use BSD”?
Re:Chimera Linux by Rediscover on Sunday December 17, 2023 @02:59PM (#38675842)
I suspect two of the many reasons for GNU usage were

(1) crazy command options (it only takes one or two to ease your workflow over the what the system distro supplied, plus the same behavior for the same flags across platforms)

(2) the lawsuit (probably an understatement - it was Serious back then)

Edit: added "usage" for clarity, s/statment/statement

Re:Chimera Linux by lucideer on Sunday December 17, 2023 @03:52AM (#38671390)
If the APIs of CLI utils is the primary concern, it's worth noting that they say their core userland is provided by "FreeBSD, NetBSD, OpenBSD" - so any friction here should in theory just be equivalent to the friction of using a BSD today (or Mac).
Re:Chimera Linux by q66 on Sunday December 17, 2023 @06:20AM (#38672095)
it's solely FreeBSD as an upstream for us, though Net/Open are an upstream for FreeBSD itself for some tools

the tools have made big strides over the last few decades, so it's nowhere near like it used to be back then

Re:Chimera Linux by lucideer on Sunday December 17, 2023 @06:58AM (#38672275)
Good to know. My quote above was taken from the website copy verbatim.

Really cool looking project - looking forward to trying it out.

Re:Chimera Linux by LeFantome on Sunday December 17, 2023 @01:26PM (#38675050)
Thank you for your work and let me say how impressed I am with how fast you moved to release 14 of the BSD userland.
Re:Chimera Linux by Rediscover on Sunday December 17, 2023 @03:30AM (#38671279)
tar(1) was the command that often bit back at me across the different Un*x implementations, vs awk(1) which for some unknown reason I had internalized the most miniscule differences.

I got into the habit of immediately installing gtar on any Solaris box I had root on (damn the leading "/" in the archive).

-----

The 2nd worst part was dealing with SunOS and HP/UX at work and Ultrix outside of work. Worst part was not grokking why MS-DOS wouldn't buffer keystrokes the few times I was exposed to it.

Re:Chimera Linux by viraptor on Sunday December 17, 2023 @07:13AM (#38672333)
I still find it weird / annoying that those commands don't get installed with prefixes by default. At least for awk it's common to have gawk, mawk, etc. installed explicitly. I wish it was common to similarly have bsdtar, gtar, etc.

At least in nixpkgs it's easy to reference the right version explicitly for each context, but everything else is a just guessing.

Re:Chimera Linux by LeFantome on Sunday December 17, 2023 @01:46PM (#38675219)
If you use the AUR, you are going to see bsdtar a lot.
Re:Chimera Linux by igorguerrero on Sunday December 17, 2023 @10:16AM (#38673386)
This is still the case for example GNU Awk vs OSX (BSD?) awk
Re:Chimera Linux by shpx on Monday December 18, 2023 @08:57AM (#38682539)
And for dd, where it's bs=4m on macOS originally but changes to bs=4M if you install coreutils. I think you can write out the number bs=4000000 if you want a portable command. This argument is effectively mandatory as it speeds up file transfers like 4 times in my experience over the default block size.