Count the number of blank lines at the end of file – unix.stackexchange.com

I have a file with blank lines at the end of the file. Can I use grep to count the number of blank lines at the end of the file with the file name being passed as variable in the script?

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Count the number of blank lines at the end of file – unix.stackexchange.com"