[openssh-commits] [openssh] 04/04: mdoc2man: process `Dl` macros
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Oct 14 18:53:29 AEDT 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit a4e404a64b117a15453075ee26eb061d416e58cd
Author: Arnout Engelen <arnout at bzzt.net>
AuthorDate: Sat Jun 21 09:47:28 2025 +0200
mdoc2man: process `Dl` macros
`Dl` marks a single line as 'literal'. Since we don't output single
lines differently in literal vs regular mode (we only insert line
breaks for multi-line blocks in literal mode), we can just skip it.
---
mdoc2man.awk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mdoc2man.awk b/mdoc2man.awk
index 469891965..c942ab86f 100644
--- a/mdoc2man.awk
+++ b/mdoc2man.awk
@@ -95,6 +95,8 @@ function add(str) {
} else if(match(words[w],"^Ed$")) {
skip=1
literal=0
+ } else if(match(words[w],"^Dl$")) {
+ skip=1
} else if(match(words[w],"^Ns$")) {
skip=1
if(!nospace)
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list