5 ms·
TIL macOS doesn't ship with `ack`. Found this out when trying the first thing on the list `ack --bar`. :(
by mkchoi212 7y ago
TIL macOS doesn't ship with `ack`. Found this out when trying the first thing on the list `ack --bar`.
:(
- sdenton4 7y agoIndeed... the MacOS command line tools often are missing or have some different defaults and hotkeys (I'm looking at you, 'top') than the versions I'm used to on my linux systems, which, sure, ecosystem diversity is cool and all, but... Every time I try to rearrange the processor usage in TOP, I open it up and think 'IT'S A TRAP!' (admittedly, this was all just an attempt at making a sufficiently substantive comment so I could make the joke about 'ack --bar')
- oneplane 7y agoI think top in macOS is the BSD version where top in most linux distributions is the GNU version. Same with tar.
- cpach 7y agoYou can probably install it via Homebrew.
- CharlesW 7y agoYep! brew install ack
- chrismorgan 7y agoDoes any platform ship with ack? I wouldn’t expect any mainstream one to. (And for any platform inclined to add useful utilities, I’d suggest ripgrep rather than ack, as it’s way faster, and superior in almost every regard.)