]> git.mxchange.org Git - core.git/blobdiff - contrib/missing-methods.sh
Continued:
[core.git] / contrib / missing-methods.sh
index a4105c7a9617757d71af6c877a7e06b0fe849699..6c7ac041a730de5ddd57a0fb5d8649e103ba78f5 100755 (executable)
@@ -2,10 +2,15 @@
 
 DEBUG_FILE="./debug.log"
 
+if [ -f "$1" ]
+then
+       DEBUG_FILE="$1"
+fi
+
 if [ ! -f "${DEBUG_FILE}" ]
 then
        echo "$0: DEBUG_FILE='${DEBUG_FILE}' does not exist."
        exit 255
 fi
 
-grep __call "${DEBUG_FILE}" |cut -d ":" -f 5-7|cut -d "[" -f 2|cut -d "]" -f 1
+grep __call "${DEBUG_FILE}" | cut -d "[" -f 4 | cut -d "]" -f 1