repo.or.cz
/
findutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Mention that we fixed bug #19596 (again).
[findutils.git]
/
build-aux
/
man-lint.sh
blob
813df1ba5bd0a2dd26bfccacfe9c6ac1e3c2ba3a
1
#! /bin/sh
2
3
rv
=
0
4
srcdir
=
"
$1
"
;
shift
5
6
for
manpage
7
do
8
what
=
"lint check on manpage
$manpage
"
9
echo -n
"
$what
: "
10
messages
=
"$( troff -t -man
${srcdir}
/
${manpage}
2>&1 >/dev/null )"
11
if
test -z
"
$messages
"
;
then
12
echo
"passed"
13
else
14
echo
"FAILED:"
>&
2
15
echo
"
$messages
"
>&
2
16
rv
=
1
17
fi
18
done
19
exit
$rv