I don't have a lot of experiences with findstr but this is not understandable for me at all. Or is it a bug of findstr?
look at these examples:
1) echo NOW|findstr "CLEAN NOCHANGE NOW">NUL&&echo found
return nothing But why??
2) echo CLEAN|findstr "CLEAN NOCHANGE NOW">NUL&&echo found
return found here it's ok
3) echo NOCHANGE|findstr "CLEAN NOCHANGE NOW">NUL&&echo found
return found this also work
But when I use /I it works
4) echo NOW|findstr /I "CLEAN NOCHANGE NOW">NUL&&echo found
-> return found its ok
if 'now' is lowercase -> it works
5) echo now|findstr "CLEAN NOCHANGE now">NUL&&echo
found
-> return found
Is there something special with string "NOW" ?