Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Re: LOC

by Chmrr (Vicar)
on Jul 25, 2002 at 20:28 UTC ( #185326=note: print w/ replies, xml ) Need Help??


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.c

Update: Shaved off a semicolon.

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'


Comment on Re: Re: Re: Re: LOC
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://185326]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-22 10:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (116 votes), past polls