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
James Cardona -
Vivek Upadhyay -
Rasheed K Mozaffar -
Muhammet Yasin ARLI -
Top comments (0)