Doing logical OR comparisons with findstr.exe
Posted
by Andreas Bonini
on Server Fault
See other posts from Server Fault
or by Andreas Bonini
Published on 2010-03-17T17:21:15Z
Indexed on
2010/03/17
17:31 UTC
Read the original article
Hit count: 398
This may be a stupid question but even after reading the documentation I'm still not sure how to find all lines in a file that contain either ".cpp" or ".h".
Is there a way to do that?
For example (doesn't work):
findstr /i .cpp,.h // , == OR
© Server Fault or respective owner