|  |  | 
| EnderUNIX tipsMail to My Friend , Home Page[ Shell Scripting ] "Finding blank lines" - Ülkü SAYILAN - (2004-06-19 17:24:54) [3232] Finding blank lines How to find number of blank lines in a file use the following command: cat filename |awk ' /^$/ { ++x } END ( print "No. of Blank Lines = " x } ' Mail to My Friend , Home Page |  |