discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* -Ttree: non-ASCII characters
@ 2014-05-18 10:47 Thomas Klausner
       [not found] ` <20140519135952.GA8975@iris.usta.de>
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Klausner @ 2014-05-18 10:47 UTC (permalink / raw)
  To: discuss; +Cc: Abhinav Upadhyay

Hi!

apropos in NetBSD is using the mandoc library (currently 1.13.0). I
noted a problem with apropos midi output and asked the author (Abhinav
Upadhyay) to take a look at it.

He reported the mandoc -Ttree /usr/share/man/man4/midi.4 already gave
back mangled output:

root (root) 0:0
        Sh (block) *33:1-35
                Sh (block-head) 33:1
                        NAME (text) 33:4
                Sh (block-body) 33:1-35
                        Nm (elem) *34:1
                                midi (text) 34:4
                        Nd (block) *35:1
                                Nd (block-head) 35:1
                                Nd (block-body) 35:1
                                        device^^independent MIDI driver layer (text) 35:4


The "^^" are reversed, and they correspond to this (from "mandoc midi.4" output):

NAME
     midi -- device-independent MIDI driver layer

I see that the mandoc man page says under "Mdoc Abstract Syntax Tree"
     TEXT       <- [[:ascii:]]*

There seems to be a bug here, or?
 Thomas
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-19 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-18 10:47 -Ttree: non-ASCII characters Thomas Klausner
     [not found] ` <20140519135952.GA8975@iris.usta.de>
2014-05-19 18:00   ` Abhinav Upadhyay
2014-05-19 23:52     ` Ingo Schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).