CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2014/04/07 19:36:50

Modified files:
        share/man/man7 : roff.7 
        usr.bin/mandoc : mandoc.c roff.c 
        regress/usr.bin/mandoc/roff/esc: Makefile 
Added files:
        regress/usr.bin/mandoc/roff/esc: B.in B.out_ascii w.in 
                                         w.out_ascii 

Log message:
Fully implement the \B (validate numerical expression) and
partially implement the \w (measure text width) escape sequence
in a way that makes them usable in numerical expressions and in
conditional requests, similar to how \n (interpolate number register)
and \* (expand user-defined string) are implemented.

This lets mandoc(1) handle the baroque low-level roff code
found at the beginning of the ggrep(1) manual.
Thanks to pascal@ for the report.

Reply via email to