perl -lne'}{print$.' file1.c file2.c
Update: Massaged one-liner, but still manage to lose by 2 strokes...
In reply to Re: Re: Re: LOC by jsprat in thread Counting lines of C code by Sara