Package: xz-utils
Version: 5.8.2-2
Severity: minor
Tags: patch
Dear Maintainer,
fixing some issues with tables including translated ones.
-.-
General remarks and further material, if a diff-file exist, are in the
attachments.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.13+deb14-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages xz-utils depends on:
ii libc6 2.42-10+b1
ii liblzma5 5.8.2-2
xz-utils recommends no packages.
xz-utils suggests no packages.
-- no debconf information
Input file is xz.1
Output from "mandoc -T lint xz.1": (shortened list)
1 STYLE: input text line longer than 80 bytes:
Split lines longer than 80 characters (fill completely
an A4 sized page line on a terminal)
into two or more lines.
Appropriate break points are the end of a sentence and a subordinate
clause; after punctuation marks.
Add "\:" to split the string for the output, "\<newline>" in the source.
Line 10, length 82
xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma
files
Longest line is: 82 characters.
Longest line is number 10 with 82 characters
xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma
files
-.-.
Change comment lines of type '.\" ====' (and an empty '.\"' line) to
a single period, as they contain no information and waste work each time
they are processed.
3:.\"
6:.\"
-.-.
Additionally:
Tables:
Use units in headers.
Use a line to seprate header from the data section.
256 KiB = 0.250 MiB
64 KiB = =0.0625 MiB
Columns with UTF-8 names may not be formatted as
numbers as the names are converted to UTF-8 code points, for example to
'\[u00FC]'.
-.-
Generally:
Split (sometimes) lines after a punctuation mark; before a conjunction.
-.-
Tables:
Put data, that are wider than the header in a centered last column,
in a "T{...\nT}" block(, when the table gets wider than the output line).
Table headers, that are wider than any data in the corresponding column,
do not need to be centered, so left adjustment (l, L) is sufficient.
--- xz.1 2026-01-19 13:20:23.294210346 +0000
+++ xz.1.new 2026-01-24 15:52:42.658375502 +0000
@@ -776,18 +776,21 @@ The following table summarises the featu
.TS
tab(;);
c c c c l
+c c c c c
+_ _ _ _ _
n n n n n.
Preset;DictSize;CompCPU;CompMem;DecMem
-\-0;256 KiB;0;3 MiB;1 MiB
-\-1;1 MiB;1;9 MiB;2 MiB
-\-2;2 MiB;2;17 MiB;3 MiB
-\-3;4 MiB;3;32 MiB;5 MiB
-\-4;4 MiB;4;48 MiB;5 MiB
-\-5;8 MiB;5;94 MiB;9 MiB
-\-6;8 MiB;6;94 MiB;9 MiB
-\-7;16 MiB;6;186 MiB;17 MiB
-\-8;32 MiB;6;370 MiB;33 MiB
-\-9;64 MiB;6;674 MiB;65 MiB
+;MiB;;MiB;MiB
+\-0;0\&.250;0;3;1
+\-1;1;1;9;2
+\-2;2;2;17;3
+\-3;4;3;32;5
+\-4;4;4;48;5
+\-5;8;5;94;9
+\-6;8;6;94;9
+\-7;16;6;186;17
+\-8;32;6;370;33
+\-9;64;6;674;65
.TE
.RE
.RE
@@ -864,18 +867,21 @@ That way no two presets are identical.
.TS
tab(;);
c c c c l
+c c c c c
+_ _ _ _ _
n n n n n.
Preset;DictSize;CompCPU;CompMem;DecMem
-\-0e;256 KiB;8;4 MiB;1 MiB
-\-1e;1 MiB;8;13 MiB;2 MiB
-\-2e;2 MiB;8;25 MiB;3 MiB
-\-3e;4 MiB;7;48 MiB;5 MiB
-\-4e;4 MiB;8;48 MiB;5 MiB
-\-5e;8 MiB;7;94 MiB;9 MiB
-\-6e;8 MiB;8;94 MiB;9 MiB
-\-7e;16 MiB;8;186 MiB;17 MiB
-\-8e;32 MiB;8;370 MiB;33 MiB
-\-9e;64 MiB;8;674 MiB;65 MiB
+;MiB;;MiB;MiB
+\-0e;0.250;8;4;1
+\-1e;1;8;13;2
+\-2e;2;8;25;3
+\-3e;4;7;48;5
+\-4e;4;8;48;5
+\-5e;8;7;94;9
+\-6e;8;8;94;9
+\-7e;16;8;186;17
+\-8e;32;8;370;33
+\-9e;64;8;674;65
.TE
.RE
.RE
@@ -2689,18 +2695,22 @@ Dictionary size is roughly equal to the
.TS
tab(;);
c c l
-c n n.
+c c c
+_ _ _
+n n a
+n n n.
Level;xz;LZMA Utils
-\-0;256 KiB;N/A
-\-1;1 MiB;64 KiB
-\-2;2 MiB;1 MiB
-\-3;4 MiB;512 KiB
-\-4;4 MiB;1 MiB
-\-5;8 MiB;2 MiB
-\-6;8 MiB;4 MiB
-\-7;16 MiB;8 MiB
-\-8;32 MiB;16 MiB
-\-9;64 MiB;32 MiB
+;MiB;MiB
+\-0;0.250;N/A
+\-1;1;0.0625
+\-2;2;1
+\-3;4;0.500
+\-4;4;1
+\-5;8;2
+\-6;8;4
+\-7;16;8
+\-8;32;16
+\-9;64;32
.TE
.RE
.PP
@@ -2714,18 +2724,22 @@ make the difference even bigger:
.TS
tab(;);
c c l
-c n n.
+c c c
+_ _ _
+n n a
+n n n.
Level;xz;LZMA Utils 4.32.x
-\-0;3 MiB;N/A
-\-1;9 MiB;2 MiB
-\-2;17 MiB;12 MiB
-\-3;32 MiB;12 MiB
-\-4;48 MiB;16 MiB
-\-5;94 MiB;26 MiB
-\-6;94 MiB;45 MiB
-\-7;186 MiB;83 MiB
-\-8;370 MiB;159 MiB
-\-9;674 MiB;311 MiB
+;MiB;MiB
+\-0;3;N/A
+\-1;9;2
+\-2;17;12
+\-3;32;12
+\-4;48;16
+\-5;94;26
+\-6;94;45
+\-7;186;83
+\-8;370;159
+\-9;674;311
.TE
.RE
.PP
@@ -3079,6 +3093,7 @@ Here are the relevant parts collected fr
.TS
tab(;);
c l
+_ _
n n.
Preset;CompCPU
\-0;0
Any program (person), that produces man pages, should check the output
for defects by using (both groff and nroff)
[gn]roff -mandoc -t -ww -b -z -K utf8 <man page>
To find trailing space use
grep -n -e ' $' -e ' \\f.$' -e ' \\"' <man page>
The same goes for man pages that are used as an input.
-.-
For a style guide use
mandoc -T lint
-.-
For general input conventions consult the man page "nroff(7)" (item
"Input conventions") or the Texinfo manual about the same item.
-.-
Any "autogenerator" should check its products with the above mentioned
'groff', 'mandoc', and additionally with 'nroff ...'.
It should also check its input files for too long (> 80) lines.
This is just a simple quality control measure.
The "autogenerator" may have to be corrected to get a better man page,
the source file may, and any additional file may.
-.-
Common defects:
Not removing trailing spaces (in in- and output).
The reason for these trailing spaces should be found and eliminated.
"git" has a "tool" to point out whitespace,
see for example "git-apply(1)" and git-config(1)")
-.-
Not beginning each input sentence on a new line.
Line length and patch size should thus be reduced when that has been fixed.
The script "reportbug" uses 'quoted-printable' encoding when a line is
longer than 1024 characters in an 'ascii' file.
See man-pages(7), item "semantic newline".
-.-
The difference between the formatted output of the original
and patched file can be seen with:
nroff -mandoc <file1> > <out1>
nroff -mandoc <file2> > <out2>
diff -d -u <out1> <out2>
and for groff, using
\"printf '%s\n%s\n' '.kern 0' '.ss 12 0' | groff -mandoc -Z - \"
instead of 'nroff -mandoc'
Add the option '-t', if the file contains a table.
Read the output from 'diff -d -u ...' with 'less -R' or similar.
-.-.
If 'man' (man-db) is used to check the manual for warnings,
the following must be set:
The option "-warnings=w"
The environmental variable:
export MAN_KEEP_STDERR=yes (or any non-empty value)
or
(produce only warnings):
export MANROFFOPT="-ww -b -z"
export MAN_KEEP_STDERR=yes (or any non-empty value)
-.-