On 18Dec2006 17:14, Matt Arnilo S. Baluyos (Mailing Lists) <matt.baluyos.lists@xxxxxxxxx> wrote: | Would anyone know of a one-liner that allows you to count the number | of lines including the subdirectories? I'm trying to find out how many | lines of code there are in a web application. | | It would also be better if it has an option to exclude specific file | extensions. find ...various-options... -exec cat {} ';' | wc -l See "man find" for details. -- Cameron Simpson <cs@xxxxxxxxxx> DoD#743 http://www.cskk.ezoshosting.com/cs/ The type syntax for C is essentially unparsable. - Rob Pike -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list