i want to count the number of lines of C source files ignoring comments. i could easily ignore "//" with grep
,but for "/*" and "*/", i dunno how to do!
is there any perl or shell script out there for such purposes?
thx in advance
THE CHINESE UNIVERSITY OF HONG KONG
COMPUTER SCIENCE Y99 2/3