]> git.ipfire.org Git - thirdparty/man-pages.git/commit
share/mk/: lint-man-poems: Diagnose (lack of) semantic newlines
authorAlejandro Colomar <alx@kernel.org>
Tue, 19 Aug 2025 11:31:41 +0000 (13:31 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 21 Sep 2025 14:25:36 +0000 (16:25 +0200)
commitbba4af63a0b987901ff42aa9f1afae0fa1bb23f3
treef75465e70b57b1a428de478a10a0529bffde3e5e
parent5bec5876c5e54874edb79f84359cdf92be327252
share/mk/: lint-man-poems: Diagnose (lack of) semantic newlines

Write poems, not prose.

This only catches the most obvious issues, but at least that's
something.

We need pcre2grep(3) because it allows multiple patterns, whereas
grep(1) in -P mode only accepts one.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
share/mk/lint/man/_.mk
share/mk/lint/man/poems.mk [new file with mode: 0644]
share/mk/lint/man/poems.pcre2grep [new file with mode: 0644]
share/mk/lint/man/poems.xfail [new file with mode: 0644]