What is the best, free, grep application for use with Windows instead of Linux?

link|improve this question

45% accept rate
findstr is an alternative and comes with windows. – Moron Aug 9 '10 at 17:45
possible duplicate of Unicode grep for Windows – akira Apr 6 at 20:12
feedback

migrated from stackoverflow.com Aug 9 '10 at 17:46

This question came from our site for professional and enthusiast programmers.

6 Answers

You could also download Cygwin, which has a full Unix-style toolkit, including grep, AWK, and all the servers.

link|improve this answer
feedback

Either use Grep for Windows or the findstr command suggested by Moron.

link|improve this answer
feedback

http://unxutils.sourceforge.net/ has a bunch of GNU tools ported to Windows.

link|improve this answer
feedback

Newer versions of Windows include a built-in grep, called findstr. It'll do just about whatever you need. For example

C:\>findstr /I windows c:\boot.ini
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professio
nal" /fastdetect /NOEXECUTE=ALWAYSON

For more info, just run findstr /? on a command prompt.

link|improve this answer
feedback

I know this has been dormant, but I don't see very many options listed. I just came across AstroGrep referenced by twlichty at How to search inside files... and it works fine for me. As to "best", I think that is subjective, but I prefer command line grep and this is a GUI tool, but my preference is not enough to keep me looking...

link|improve this answer
feedback

FART provides some of the functionality of grep, depends on your requirements but I recommend you take a look:

http://fart-it.sourceforge.net/

link|improve this answer
How are we supposed to take that seriously? – Peter Mortensen Apr 6 at 22:06
feedback

Your Answer

 
or
required, but never shown

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