CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Counting number of lines in multi-file large code

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 12, 2004, 13:45
Default Counting number of lines in multi-file large code
  #1
Abhijit Tilak
Guest
 
Posts: n/a
Hello all,

Is anybody aware of any free utility for calculating number of lines in a multi-file (40-50 files language C, platform RedHat 9.0) code. Ideally I am looking for something that may work like this:

<utility_name> input >> *.c output << < total number of lines in *.c>>

I checked out programmers_heaven.com. There are some utilities like this for MS Windows, but they operate on single file. I thought about using cat or grep, but it does'nt seem like a smart idea.

Here's how this question came about: I recently had an interview with a FEA s/w development company. The interviewer asked me how many lines is your code ? I told the interviewer that I never kept track of that!

Thanks Abhijit

  Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.0.x on Mac OSX niklas OpenFOAM Installation 74 March 28, 2012 16:46
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 06:43
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 10:13.