réplica de
https://git.tukaani.org/xz.git
sincronizado 2025-06-30 17:36:36 +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. (cherry picked from commit 6a1093c0004c42eeaef312456c295671496dd67a)
Este cometimento está contido em:
ascendente
9d4bf2d06f
cometimento
f1123eefe1
@ -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 \
|
||||
|
Carregando…
x
Criar uma nova questão referindo esta
Bloquear um utilizador