blob: f1367bdb3b47bfb556e4b00aaae3034299476d68 (
plain) (
blame)
1
2
3
4
5
6
|
#!/bin/sh
# look through all files for either @file or \file, grep -c will report
# ./example.file:0 if it is not found.
find src -iname '*.[ch]' -exec \
grep -c '[@\]file' {} \+ \
| awk -F':' '$2 == 0 {print "Undocumented file:", $1}'
|