diff options
author | Paul Onyschuk <blink@bojary.koba.pl> | 2011-07-26 13:04:22 +0200 |
---|---|---|
committer | Paul Onyschuk <blink@bojary.koba.pl> | 2011-07-26 13:04:22 +0200 |
commit | efe5dc76f1beadc9ac3f9de691e4ad7563569cb8 (patch) | |
tree | 00c93be4860cf58ce92080705d6fa8ac0ed70aad /main/mdocml/man.sh | |
parent | 13ff64860853f255ec466b2853cf0311a7ddb97d (diff) | |
download | aports-efe5dc76f1beadc9ac3f9de691e4ad7563569cb8.tar.bz2 aports-efe5dc76f1beadc9ac3f9de691e4ad7563569cb8.tar.xz |
main/mdocml: fix opening of compressed man pages in man.sh
Diffstat (limited to 'main/mdocml/man.sh')
-rw-r--r-- | main/mdocml/man.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/mdocml/man.sh b/main/mdocml/man.sh index 6795e2007d..52735af817 100644 --- a/main/mdocml/man.sh +++ b/main/mdocml/man.sh @@ -39,9 +39,9 @@ tty -s <&1 || PAGER=cat case "$pagefile" in *.bz2) - exec bzcat "$pagefile" | "$PAGER" ;; + exec bzcat "$pagefile" | mandoc -Tutf8 | "$PAGER" ;; *.gz) - exec zcat "$pagefile" | "$PAGER" ;; + exec zcat "$pagefile" | mandoc -Tutf8 | "$PAGER" ;; *) exec mandoc -Tutf8 "$pagefile" | "$PAGER" ;; esac |