LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Code Count (https://www.linuxquestions.org/questions/programming-9/code-count-173997/)

liguorir 04-24-2004 07:20 AM

Code Count
 
I need some helping writing a small script to count the code lines in a TCL script.

Heres the algorithm...

Ignore blank lines.
Ignore lines starting with #
count all other lines.

I have grep, awk, cut, etc. to my disposal.

Please advise.

moved to the Programming forum

infamous41md 04-24-2004 01:56 PM

man nl


All times are GMT -5. The time now is 01:09 AM.