Subj : Re: Getting the number of lines in a file To : comp.os.linux From : De Kameel Date : Fri Jul 23 2004 07:27 pm Joshua Beall wrote: > What I really want to do is get the cumulative number of lines in many > files, recursing into subdirectories. I want to see how many lines of > code > are in the PHP project I am working on right now. I don't know of any > quick way of doing this, Quick and dirty: find * -print | awk '{ print "echo $1 ; wc -l " $1 }' | /bin/sh De Kameel -- Overview of IPv6 enabled sites: http://www.prik.net/list.html Make your Linux system IPv6 connected: http://www.prik.net/6to4/ .