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.
You can use this way...
grep -P '^\s$' file
-P
grep
\s
*
^
$