From 8663e51c80c6aa3d750c6d3bcff6ee05091922be Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 28 Sep 2016 07:40:33 +1000 Subject: fix mdoc2man.awk formatting for top-level lists Reported by Glenn Golden Diagnosis and fix from Ingo Schwarze --- mdoc2man.awk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mdoc2man.awk') diff --git a/mdoc2man.awk b/mdoc2man.awk index 80e8d5ffa..3e8725452 100644 --- a/mdoc2man.awk +++ b/mdoc2man.awk @@ -321,6 +321,8 @@ function add(str) { w=nwords } else if(match(words[w],"^El$")) { optlist=oldoptlist + if(!optlist) + add(".PP") } else if(match(words[w],"^Bk$")) { if(match(words[w+1],"-words")) { w++ -- cgit v1.2.3