]> diplodocus.org Git - nmh/blobdiff - test/manpages/test-manpages
Fixed inc(1) and %(me) to not obey Local-Mailbox profile component.
[nmh] / test / manpages / test-manpages
index 315754b2bf5011f29f899c476f7cfa92d9b90ae7..768c8f265e7330cea977a1dec923f307c3fe2457 100755 (executable)
@@ -37,7 +37,7 @@ warnings="-ww"
 #### If the prefix is too long, groff will report that it can't break
 #### the `aliasfiles' line in ali.1.
 length=`echo $prefix | awk '{print length($0)}'`
-[ $length -gt 35 ]  &&  warnings="${warnings} -Wbreak"
+[ $length -gt 32 ]  &&  warnings="${warnings} -Wbreak"
 
 #### OpenBSD's mandoc spits out a lot of "unbalance .el request" warnings;
 #### -Wel suppresses them.
@@ -48,8 +48,9 @@ fi
 rm -f "$actual"
 touch "$actual"
 
-
 for manpage in man?/*.?; do
+  LC_ALL=C grep -n '[^  -~]' /dev/null "$manpage" 2>&1 |
+  sed 's/^/non-ascii:/' >>"$actual"
   groff -Tutf8 -mandoc $warnings "$manpage" >/dev/null 2>>"$actual"
 done