mirror of
https://git.tukaani.org/xz.git
synced 2025-02-13 03:58:16 +00:00
build-aux/manconv.sh: Fix US-ASCII and UTF-8 output.
groff defaults to SGR escapes. Using -P-c passes -c to grotty which restores the old behavior. Perhaps there is a better way to get pure plain text output but this works for now.
This commit is contained in:
parent
9a706167b0
commit
e8c2203b2c
@ -38,10 +38,10 @@ s/^\\.PD\$/.PD $PD/"
|
||||
|
||||
case $FORMAT in
|
||||
ascii)
|
||||
groff -t -mandoc -Tascii | col -bx
|
||||
groff -t -mandoc -Tascii -P-c | col -bx
|
||||
;;
|
||||
utf8)
|
||||
groff -t -mandoc -Tutf8 | col -bx
|
||||
groff -t -mandoc -Tutf8 -P-c | col -bx
|
||||
;;
|
||||
ps)
|
||||
sed "$SED_PD" | groff -dpaper=$PAPER -t -mandoc \
|
||||
|
Loading…
x
Reference in New Issue
Block a user