How do I grep file contents to see if it ends in a newline?

89 views Asked by At

I'm using CodeClimate's grep engine and I would like a pattern to verify that our code files end with a blank line. I've seen a lot of posts explaining how to count and find blank lines, but I want to specific check EOF.

0

There are 0 answers