From: Arnout Engelen Date: Sat, 21 Jun 2025 07:47:28 +0000 (+0200) Subject: mdoc2man: process `Dl` macros X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4e404a64b117a15453075ee26eb061d416e58cd;p=thirdparty%2Fopenssh-portable.git 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. --- 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)