Skip line-length warnings in man
authorIustin Pop <iustin@google.com>
Thu, 11 Feb 2010 16:35:36 +0000 (17:35 +0100)
committerIustin Pop <iustin@google.com>
Thu, 11 Feb 2010 16:42:35 +0000 (17:42 +0100)
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>

autotools/check-man

index 5c0e257..cc47edd 100755 (executable)
@@ -21,4 +21,6 @@
 set -e
 
 ! LC_ALL=C MANWIDTH=80 \
-man --warnings --encoding=utf8 --local-file "$1" 2>&1 >/dev/null | grep .
+  man --warnings --encoding=utf8 --local-file "$1" 2>&1 >/dev/null | \
+  grep -v -e "cannot adjust line" -e "can't break line" | \
+  grep .