summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-12-19 08:53:18 +0000
committerDries Buytaert <dries@buytaert.net>2000-12-19 08:53:18 +0000
commitc4286e80097321e77172ff45c168ca0142556463 (patch)
tree3950b39688bebe1d790fb3004e91b9f26fcb3688 /scripts
parent032a9256b460bc9e34d51515231ed1fc2f02d877 (diff)
downloadbrdo-c4286e80097321e77172ff45c168ca0142556463.tar.gz
brdo-c4286e80097321e77172ff45c168ca0142556463.tar.bz2
- updated version of php-count: it now takes the modules into account
Diffstat (limited to 'scripts')
-rw-r--r--scripts/php-count10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/php-count b/scripts/php-count
index ff4829bcb..7b2123408 100644
--- a/scripts/php-count
+++ b/scripts/php-count
@@ -1,10 +1,10 @@
#!/bin/sh
-
-echo -n "lines of code in .inc files :"
+echo -n "lines of code in .inc files :"
find . -name "*.inc" | xargs cat | wc -l
-echo -n "lines of code in .php files :"
+echo -n "lines of code in .php files :"
find . -name "*.php" | xargs cat | wc -l
-echo -n "lines of code in .theme files:"
+echo -n "lines of code in .theme files :"
find . -name "*.theme" | xargs cat | wc -l
-
+echo -n "lines of code in .module files:"
+find . -name "*.module" | xargs cat | wc -l