PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Lines of code
Date: Thursday, 30 Apr 2020, 17:49:29


    > Message Posted By: Unknown
    >
    > is there a way we can find out how many lines of significant code we have without counting?

The command

  % cat *.c | /c/cs223/bin/xLines

prints the number of lines remaining after deleting all
braces, comments, and the keyword else and then deleting
all whitespace-only lines.  It also prints the total
number of lines.

--Stan-
PREV INDEX NEXT