From c5f1ccc86f1453440a92c0a67c47dace247d40f3 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 9 Mar 2019 10:19:16 +0000 Subject: lint-man: Check for what I just completely fixed. Just in case. --- contrib/scripts/lint-man.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'contrib') diff --git a/contrib/scripts/lint-man.sh b/contrib/scripts/lint-man.sh index 1a3f1514a..8915e9ece 100755 --- a/contrib/scripts/lint-man.sh +++ b/contrib/scripts/lint-man.sh @@ -18,6 +18,13 @@ then MANWIDTH=80 \ groff -m mandoc -b -z -w w $f; done + # FIXME below, grande stupidity. + rm groff_lint.log + echo "Wrong use of B" + for f in `find . -name \*\.[1-9]`; + do + awk '/^\.B$/ {print FILENAME":"NR":"$0}' $f >> groff_lint.log || true + done fi echo "mandoc check" -- cgit v1.2.3