[BACK]Return to B.out_ascii CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / esc

File: [cvsweb.bsd.lv] / mandoc / regress / roff / esc / B.out_ascii (download)

Revision 1.3, Wed Jun 8 13:24:01 2022 UTC (23 months ago) by schwarze
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +47 -2 lines

Surprisingly, every escape sequence can also be used as an argument
delimiter for an outer escape sequence, in which case the delimiting
escape sequence retains its syntax but usually ignores its argument
and loses its inherent effect.  Add rudimentary support for this
syntax quirk in order to improve parsing compatibility with groff.

ESC-B(1)                    General Commands Manual                   ESC-B(1)

NNAAMMEE
     eesscc--BB - the roff escape B sequence: validate numerical expression

DDEESSCCRRIIPPTTIIOONN
     empty: 0
     digit: 1
     no number: 0
     trailing garbage: 0
     trailing operator: 0
     infix operator: 1
     infix and trailing operator: 0
     chain of operations: 1
     trailing para: 0
     unclosed para: 0
     empty pair of parentheses: 0
     parentheses containing number: 1
     complex expression: 1
     other delimiter: 1

   AArrgguummeenntt ddeelliimmiitteerrss
     unsupported \!: 1u
     unsupported \r: 042u
     ignored \%: 1u
     ignored \&: 1u
     ignored \): 1u
     ignored \,: 042u
     ignored \/: 1u
     ignored \^: 042u
     ignored \a: 042u
     ignored \d: 042u
     ignored \t: 042u
     ignored \u: 042u
     ignored \{: 1u
     ignored \|: 042u
     ignored \}: 1u
     useless \.: 042.u
     invalid \G: 1u
     special \ : 042 u
     special \': 1u
     special \-: 1u
     special \0: 042 u
     special \:: 1u
     special \_: 1u
     special \`: 1u
     special \e: 1u
     special \~: 042 u
     break \p: 1u
     nospace \c: 1u
     string expansion: 1u
     register expansion: 03u
     ignored \O: 042u
     ignored \Y: 042u
     ignored \k: 1u
     special character: 1u
     ignored \D: 042u
     ignored \L: 042u
     ignored \X: 042u
     ignored \Z: 042u
     ignored \b: 042u
     ignored \v: 042u
     ignored \x: 042u
     horizontal motion: 042   u
     horizontal line: 042__u
     overstrike: 042cdu

OpenBSD                          June 8, 2022                          OpenBSD