vote up 5 vote down star
4

I do in file search a lot, and used to love grep. Then I learn the existence of egrep, so I switched to benefit from the advanced regexp. Then I discovered the Eclipse search tool. Much easier to use that grep. Then I found ack : fast, easy, powerful. And now I use grin, which is smooth for pythonistas. I know there is also a couple of this kind of tools with a GUI.

So what tool do you use, and why do you think it's the best. Practical features generally are :

  • fast to fire and use;
  • speedy processing;
  • automatically ignore useless files;
  • colored output;
  • output lines, filename, context;
  • allow complex regexp;
  • allow a custom filtering and ouput;
  • GUI + command line intergation;
  • let you open an editor from the result set.

There are some related posts on SO :

flag

migrated from stackoverflow.com

5 Answers

vote up 4 vote down

Personally, I've always gone with ack. Does grin presently have any advantages over ack?

link|flag
vote up 1 vote down

Findstr works great if you have a Windows machine

link|flag
I only learned about findstr a couple years after writing a hackish version myself for somebody :) – warren Sep 11 at 3:50
vote up 0 vote down

See

link|flag
vote up 0 vote down

On Windows I use the GREP function built into RegexBuddy which lets you build and test your regex within the GUI. The same company also do the much more expensive PowerGREP which I haven't tried.

link|flag
vote up 0 vote down

PowerGREP does all this, and more. Awesome tool (as already mentioned in one of the posts you linked).

link|flag

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.