Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2023 15:47:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274247] mandoc produce noise on empty input
Message-ID:  <bug-274247-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274247

            Bug ID: 274247
           Summary: mandoc produce noise on empty input
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: wosch@FreeBSD.org

For empty input, mandoc produce 3 lines output with brackets:

$ mandoc < /dev/null | wc -l
       3


$ mandoc < /dev/null=20=20=20=20=20=20=20=20
()                                                                         =
 ()

                                                                           =
 ()


this looks strange.

GNU groff works fine:=20
$ nroff -mandoc  < /dev/null  | wc -l
       0

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274247-227>