]> git.llucax.com Git - software/mutest.git/blobdiff - mkmutest
Revert "Add flattr link to html output"
[software/mutest.git] / mkmutest
index 32c0e5adbeaddc8b94c56d8f3deb4c5d30088f73..88069875182a9730246597c1480e8ec837b33f26 100755 (executable)
--- a/mkmutest
+++ b/mkmutest
@@ -34,7 +34,7 @@ for file in "$@"
 do
        pr_file=`echo "$file" | sed 's/\"/\\\\\"/g'`
        suite=`basename "$file" .o | sed 's/\"/\\\\\"/g'`
-       symbols=`nm -p "$file" | egrep '^[[:xdigit:]]{8} T mu_\w+$' | cut -c12-`
+       symbols=`nm "$file" | egrep '^[[:xdigit:]]+ T mu_\w+$' | cut -d' ' -f3`
        tests=`echo "$symbols" | egrep '^mu_test'`
        inits=`echo "$symbols" | egrep '^mu_init'`
        terms=`echo "$symbols" | egrep '^mu_term'`