How to give a pattern for new line in grep? New line at beginning, new line at end. Not the regular expression way. Something like \\n.
just found
grep $'\r'
It's using $'\r' for c-style escape in Bash.
$'\r'
in this article