← Back to context

Comment by lloeki

3 years ago

They come from BSD (and, nitpick, are not called coreutils). These BSD tools lack features mostly only if you're used to GNU coreutils.

The expanse of GNU coreutils features is questionable too: some are nice, some you can do without easily and rarely to never miss, and some are downright annoying (yes I'm looking at you, ls with colors+quotes)

Obviously everything is preference, but I prefer things like expanded regex in gnu grep to the underpowered macOS utils

  • GNU and BSD grep both default to "basic" regular expressions and both have the `-E` switch to use "extended" expressions.

    • Last time I used macOS (which was 6 years ago) there was no extended expressions, or the regex syntax was limited. I forget (again, haven't used an apple product in years)

      3 replies →