Monday, September 27, 2010

How to count empty lines in a file?

% cat file_name | grep -E '^$' | wc -l

No comments:

Post a Comment