Hello
Today I ran into this very old bug where grep returns empty lines when grepping through files with DOS-style \r\n newlines.
To reproduce:
grep "foo.*" *.txt
Verify that it does in fact find things:
grep "popup.*" *.bas | od -c
This prints the lines correctly:
grep --color=never "foo.*" *.txt
I found a report of this issue at least from 2009:
I'm using GNU grep 3.1.
Kind regards
DrSlony