in reply to Re: Re: Re: LOC
in thread Counting lines of C code
If it's a golfin' that ye'll be wantin', just say so!
perl -ple'}{$_=$.' file1.c file2.cUpdate: Shaved off a semicolon.
perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'
|
|---|