Skip to content

man pages: fix typo, merged lists and wrong indentations - #14038

Open
matttbe wants to merge 5 commits into
uutils:mainfrom
matttbe:man-new-lines
Open

man pages: fix typo, merged lists and wrong indentations#14038
matttbe wants to merge 5 commits into
uutils:mainfrom
matttbe:man-new-lines

Conversation

@matttbe

@matttbe matttbe commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The first commits are small and fix some typos, remove unneeded parenthesis, separate values and descriptions, and add missing dots and dashes. The last one is bigger.

The extra section (after-help) is currently not interpreted as markdown, but as plain text. Lines are then merged, except if they are indented. This was causing issues in various manpages being very hard to read, e.g. for the stat manpage:

Before:
image

After:
image

Here, a simple correction is done -- similar to what was done in #10737 with only the test manpage: adapt the indentations and avoid new lines in (indented) list items not to force rendering new lines.

@github-actions

Copy link
Copy Markdown

Binary size comparison:

Individual binary size comparison VS main (threshold: >=5% AND >=4 KB).

Total size of compared binaries: 151.58 MB (+4.89 MB, +3.34%)

Significant per-binary changes:
  ls      2.10 MB ->    3.28 MB  (+1.18 MB, +56.13%)
  cut     1.14 MB ->    1.21 MB  (+72 KB, +6.19%)

@codspeed-hq

codspeed-hq Bot commented Aug 20, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 3.23%

⚡ 2 improved benchmarks
✅ 355 untouched benchmarks
⏩ 50 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation cksum_sysv 67.9 ms 65.7 ms +3.35%
Simulation cksum_crc32b 39.7 ms 38.5 ms +3.11%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing matttbe:man-new-lines (406e10d) with main (df30282)

Open in CodSpeed

Footnotes

  1. 50 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/cut/cut-huge-range is now passing!
Congrats! The gnu test tests/tail/tail-n0f is now passing!
Skip an intermittent issue tests/pr/bounded-memory (was skipped on 'main', now failing)

@matttbe

matttbe commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

I don't think all these issues and regressions are due to this PR only modifying --help and man pages.

The only line with 'converts' with a trailing 's' and s/in/is/.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
The colon is there to separate the digest and the description.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Adding a colon helps to understand the first word is the value, and the
rest is the description.

Adding an extra whitespace in French as done elsewhere before a colon.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Some sentences being part of the same paragraph were not separated by a
dot.

Also some lists being part of the same paragraph were not prefixed by a
dash.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
The extra section is currently not interpreted as markdown, but as plain
text. In the man pages, lines are then merged, except if they are
indented. In the --help menus, lines are rendered without merges.

Add extra indentations and avoid breaking lines in the man pages, which
will introduce new lines in the man pages instead of using the requested
width. This also help improving the view in the --help menus.

Notes:

 - the dd man page looks better, but the amount of text per list item
   might still make it hard to read. Same in the --help menu. Maybe the
   text could be improved/reduced  (in another PR).

 - the expr man page now follows the same style as test: the expression
   on the first line, and the description on the second one.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant