File: .manpages

package info (click to toggle)
python-swiftclient 1%3A4.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,496 kB
  • sloc: python: 18,048; makefile: 84; sh: 49
file content (18 lines) | stat: -rwxr-xr-x 357 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

RET=0
for MAN in doc/manpages/* ; do
    OUTPUT=$(LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l \
        -Tutf8 -Z "$MAN" 2>&1 >/dev/null)
    if [ -n "$OUTPUT" ] ; then
        RET=1
        echo "$MAN:"
        echo "$OUTPUT"
    fi
done

if [ "$RET" -eq "0" ] ; then
    echo "All manpages are fine"
fi

exit "$RET"