#!/usr/bin/env bash # Written by #%DESC List test_enabled("teststring") tests cd ${0%/*}/.. shopt -s globstar exec perl -ne \ 'printf "%-30s %s:%d\n", $1, $ARGV, $. if /\btest_enabled\([^,]*(?:,\s)?"([^"]+)"/; eof and close ARGV' **/*.[ch]* |\ sort