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
Emmanuel Ayinde -
ViitorCloud Technologies -
Abdullah Bashir -
Alexandre Calaça -
Top comments (0)