3 ms·
It's the userland that always sends me back to Linux. I've tried BSD a few times, but there are enough gnu flags in my muscle memory for command line utilitie
by bryanlarsen 2y ago
It's the userland that always sends me back to Linux. I've tried BSD a few times, but there are enough gnu flags in my muscle memory for command line utilities that it's painful.
- LeFantome 2y agoThis is an honest question. Do you have any examples? I have always been a GNU user but have been using Chimera Linux. I ran into differences with ‘sed’ and read about a regex difference with “find’. Really curious what flags other people are using.
- nerflad 2y agoone sticking point for GNU users can be that BSD utils are more strict about positional order of e.g filename parameter and input options. rm ~/foo -rf || rm -rf ~/foo I was forced to get used to BSD syntax when I switched to MacOS but now I prefer it...
- LeFantome 2y agoThank you for the answer! Even as a GNU user, I never would never have thought to put filenames anywhere but the end. I mean, with wildcards, it could be any number of filenames. You are right though, that is an important difference.
- syene 2y agoIt’s unnatural to put the flags after the command. But sometimes I remember I’ve to use a flag after I’ve entered the input; other times, I notice a flag’s omission after executing it, and Control + P puts my cursor at the end, after the input.