aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-09-22 21:58:58 +0000
committerBruce Momjian <bruce@momjian.us>2005-09-22 21:58:58 +0000
commit5d075bb4cc225fe21c1dca907f081bfb1935a5ab (patch)
tree322b3c32efe134e1c9614ca9e7390381a372440c /src
parentc37ddf371d6658945481ec973d5e903a09ee7512 (diff)
downloadpostgresql-5d075bb4cc225fe21c1dca907f081bfb1935a5ab.tar.gz
postgresql-5d075bb4cc225fe21c1dca907f081bfb1935a5ab.zip
Add "codelines" script to compute number of lines in a releaes.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/codelines4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/codelines b/src/tools/codelines
new file mode 100755
index 00000000000..b74a0c792ed
--- /dev/null
+++ b/src/tools/codelines
@@ -0,0 +1,4 @@
+:
+
+# This script is used to compute the total number of "C" lines in the release
+find . -name '*.[chyl]' | xargs cat| wc -l