As long as you don’t try to use sed or grep. Literally the only reason I learned perl was because of the flag incompatibilities between macos Unix and Linux utils.
Comment on Snapdragon X2 Elite Extreme crushes Apple M4, Intel, and AMD in new benchmarks
SnotFlickerman@lemmy.blahaj.zone 5 days agoAlso while Linux is not the same as UNIX, interacting with them is much more similar than, say, Windows. They use a lot of the same conventions and managing macOS can be a lot like managing Linux if you want it to be.
silasmariner@programming.dev 4 days ago
galaxy_nova@lemmy.world 4 days ago
Yeah true, but if you use macOS expecting Linux that doesn’t make any sense. Then it’d just be Linux with a different DE lol. Hopefully doesn’t come across as snarky but pointing these differences out always seems rather pointless to me, they do exist but I mean yeah it’s not the same os.
silasmariner@programming.dev 4 days ago
Yeah I guess, but it’s still annoying to have identically named tools that do the same job but aren’t compatible. Or, like,
base64 -d
on macos can gobble the last char of output. So then you have to homebrew coreutils or something, but it just means that stuff that you feel should work compatibly out-of-the-box doesn’t, and writing *nix scripts without perl is just a pita.I forget what my point here is.
woelkchen@lemmy.world 4 days ago
If you use only GUI, the underlying system philosophy is practically irrelevant.
If you use CLI, you can literally use the same distribution within WSL as you use on a Linux computer. I like using openSUSE’s zypper in WSL more than I like brew on macOS.
galaxy_nova@lemmy.world 4 days ago
Yeah brew sucks ass