File:  [mozdev] / chameleon / scripts / COUNTLINES
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue Oct 3 19:33:58 2000 UTC (17 years ago) by petejc
Branches: MAIN
CVS tags: PR3, M18, HEAD, CHAMELEON_0_02_BRANCH_OS, CHAMELEON_0_02_BRANCH, CHAMELEON_0_02B_BRANCH
a handy little shell script to could all the lines of a project

--pete

#!/bin/sh

wc -l $(
        find . -name    *.xul   -print;     \
        find . -name    *.js    -print;     \
        find . -name    *.htm   -print;     \
        find . -name    *.html  -print;     \
        find . -name    *.xml   -print;     \
        find . -name    *.rdf   -print;     \
        find . -name    *.txt   -print;     \
        find . -name    *.css   -print;
);


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>