Nice app, but as any normal Windows app, it comes without any decent documentation, whatsoever. So I have to ask:
I have a bunch of text files in a directory and I want to find the files which has 2 words, say, 'apple' and 'orange' in it, not necessarily next to each other, but somewhere in the file contains both words. How to proceed finding these files with grepWin?
http://stefanstools.sourceforge.net/grepWin.html
or
http://stefanstools.sourceforge.net/regexhelp.html
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss
Sure, I checked it. Unix has good documentation and I have to say this one is very far from it.
The bottom line is: did you happen to figured out the answer to my specific question? Thanks!
Unfortunately, it's not just clicking a few buttons here and there. You'll have to learn to code with regular expressions. I'm not very good with regex either, but I think this will do a two word search.
In the Search area, make sure that "Text search" is selected.
Enter the following in the "Search for:" field:
(?=.*\bapple\b)(?=.*\borange\b)
Click Search
That should look for files that contain apple and orange.
Yeah, I know RegEx is a thing. I just wonder why the GUI, grepWIN in the first place? Rather, I could just use proper Linux command line or at least https://portableapps.com/node/35692 at least it (might?) have proper documentation in the form of man pages.
Thanks for the tip!
Cygwin is a beast and it can be finicky. Not worth it for just searches. I don't see how that makes searches any easier. You can save your search presets in GrepWin also.