summaryrefslogtreecommitdiff
path: root/src/tools/codelines
blob: 7840c9c6e5a05d48d900601d0da64dae771f51a5 (plain)
1
2
3
4
5
6
7
#!/bin/sh

# $PostgreSQL: pgsql/src/tools/codelines,v 1.3 2006/03/11 04:38:41 momjian Exp $

# This script is used to compute the total number of "C" lines in the release
# This should be run from the top of the Git tree after a 'make distclean'
find . -name '*.[chyl]' | xargs cat| wc -l