aboutsummaryrefslogtreecommitdiffstats
path: root/main/mdocml/man.sh
diff options
context:
space:
mode:
authorPaul Onyschuk <blink@bojary.koba.pl>2011-07-26 13:04:22 +0200
committerPaul Onyschuk <blink@bojary.koba.pl>2011-07-26 13:04:22 +0200
commitefe5dc76f1beadc9ac3f9de691e4ad7563569cb8 (patch)
tree00c93be4860cf58ce92080705d6fa8ac0ed70aad /main/mdocml/man.sh
parent13ff64860853f255ec466b2853cf0311a7ddb97d (diff)
downloadaports-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.sh4
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