|
|
|
|
|
by pooriaazimi
5072 days ago
|
|
This is a serious question: Why would you want to use plain old "grep" instead of "ack"[1]? Of course, other than the fact that it's on all machines. Why would you use it instrad of "ack" on your own machines? That's an honest question, I'm not starting a flamewar... The highlighting and filename/line# by default is the killer feature for me. Edit: Come on. Downvotes for this? Honestly... It's HN, not StackOverflow. You don't mark questions as "off-topic" unless they're trolling... [1]: http://betterthangrep.com |
|
grep is defined for POSIX after all: http://pubs.opengroup.org/onlinepubs/009695399/utilities/gre...
I also suspect (without looking) that there are obscure (but occasionally useful) grep features that ack doesn't support.