grep
patterns are matched against individual lines so there is no way for a pattern to match a newline found in the input.
However you can find empty lines like this:
grep '^$' file
grep '^[[:space:]]*$' file # include white spaces
grep
patterns are matched against individual lines so there is no way for a pattern to match a newline found in the input.
However you can find empty lines like this:
grep '^$' file
grep '^[[:space:]]*$' file # include white spaces
For further actions, you may consider blocking this person and/or reporting abuse
Shelwyn Corte -
Matthias C. -
Sarva Bharan -
Manikanta -
Top comments (0)