Can grep highlight matching text without hiding file content?
I don't think there is any simple option in grep but this seems to work fine. From https://stackoverflow.com/a/981831

grep --color -E "pattern|$" file


The |$ at the end of the regular expression makes grep find pattern OR end of lines. It can't highlight those though, so just the pattern gets colored.