aboutsummaryrefslogtreecommitdiff
path: root/scripts/warn-undocumented
blob: db22249143c1e8b9456a541cf243e636c235ea29 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
# look through all files for either @file or \file
for file in $@
do
	grep -c '[@\]file' "$file" |\
	awk -F':' "\$1 == 0 {print \"Undocumented file: $file\"}"
done