I am going to say this once. Write a shell script :) I know how you feel but wc is just a utility program. I doubt we can expect to understand asm/C src code..... John --- On Sat, 12/27/08, Jim Korman wrote: > From: Jim Korman > Subject: Re: [PIC] Displaying code statistics in MPLAB > To: "Microcontroller discussion list - Public." > Date: Saturday, December 27, 2008, 10:19 PM > Jim Korman wrote: > > Vitaliy wrote: > > > >> "marty" wrote: > >> > >> > >>> wc -l *.[ch] > >>> > >>> > >> For those like me who are wondering what > "wc" is: > >> > >> http://en.wikipedia.org/wiki/Wc_(Unix) > >> > >> Wc is unfortunately useless: I don't use *nix, > and I'm not interested in > >> simple line counts. > >> > >> I need statistics such as: > >> > >> - Total lines > >> - Empty lines > >> - Actual code lines > >> - Comment lines > >> > >> Surely, there's got to be something out there > that can do this? > >> > >> Vitaliy > >> > >> > >> > > Have you tried "unxutils?" at > > http://unxutils.sourceforge.net/ > > > > I've found them to be a welcome addition to > windows when > > using the cli. Also haven't found any problems so > far using them > > under Vista64 either. > > > > Jim > > > And I totally missed the part where you think wc s*cks for > what you want to do. Sorry! > > Jim > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist