Click here to Skip to main content
15,885,309 members
Articles / Operating Systems / Linux

find the number of blank lines in a file

Rate me:
Please Sign up or sign in to vote.
1.00/5 (2 votes)
19 Nov 2012CPOL 2.6K  
Hi,I need to find the number of blank lines from a particular directory in all the files that ends with '.h' extension.Thanks in advanceOP's additional information copied from comment belowFirst displayed all the .h files using the command ls /usr/include/ | grep '.h$'.Now,...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions