]> git.mxchange.org Git - core.git/blobdiff - contrib/missing-methods.sh
Continued:
[core.git] / contrib / missing-methods.sh
index 9428ec31733062e7f0994ddb5518936733967e27..91dc124127826829f1701070c75d1c2b6681a9de 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 4 | cut -d "]" -f 1
+grep -a __call "${DEBUG_FILE}" | cut -d "[" -f 4 | cut -d "]" -f 1