How do I get rid of “–” line separator when using grep with context lines?

I do this:

 grep ... | grep -v -- "^--$"

But this works too (on many, not all OS’es)!

grep --no-group-separator ...

And it doesn’t spit out that “–” or even a blank line.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)