relict finder script added v4.10.1
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 5 Nov 2013 08:10:26 +0000 (09:10 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 5 Nov 2013 08:10:26 +0000 (09:10 +0100)
bin/relict_get.sh [new file with mode: 0755]

diff --git a/bin/relict_get.sh b/bin/relict_get.sh
new file mode 100755 (executable)
index 0000000..913ad96
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+IFS='
+'
+( for i in $(grep -r '^ *function' web | sed 's/.*:[      ]*function[     ]*//g;s/(.*//g'); do
+    grep -rw $i web | wc -l | tr -d '\n' 
+    echo ": $i"
+done ) | sort -n
\ No newline at end of file