Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you are searching inside code specifically, you may like 'ack'. It does the same thing grep does, except it has preset 'excludes', is recursive by default, and the output is a bit prettier.


Or even 'ag' (the silver searcher). Like ack, but "better". https://github.com/ggreer/the_silver_searcher


"better" or just faster since its written in C ?

It is not a drop-in replacement for ack. e.g. there are some basic usages it does not support -- iirc counts (ag -c pattern).


Eh, faster is faster, does it matter why?


The part about written in C was just added on. My point was "better or faster". If you say "faster is better" I'll have to agree :)


Oh thanks! I will give it a whirl




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: