3 ms·
FWIW "grep --color -n" does the same thing.
by basugasubaku 17y ago
FWIW "grep --color -n" does the same thing.
- dylanz 17y agoAh, thank you! Can't believe I haven't been using the -n flag all this time. These flags don't do "exactly" the same thing as Ack, as Ack actually breaks it down by distinct sections, with newlines. It's a bit easier on the eyes.
- mseebach 17y agoNot if you're using SVN. Or if someone stuck a 24MB SQL data-dump with extended inserts somewhere, that has the word "unicorn" in it.
- youngian 17y agoThe newest version of grep has --exclude-dir, which handles .svn folders just fine.