diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-14 18:23:27 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-14 18:23:27 +0000 |
commit | 647e680d5fef70a7afeedebf08d788cecc26da58 (patch) | |
tree | cba4cfe3a4f7520bcbcf54bb16612e21a8c2fc80 /regress/usr.bin/mandoc | |
parent | 80ac93be26e104b44e59db20f822b3f1b3727034 (diff) |
let \l use the right fill character
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/Makefile | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/l.in | 22 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/l.out_ascii | 16 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/roff/esc/l.out_lint | 2 |
4 files changed, 43 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/roff/esc/Makefile b/regress/usr.bin/mandoc/roff/esc/Makefile index 6d81161491b..dd4eb67807a 100644 --- a/regress/usr.bin/mandoc/roff/esc/Makefile +++ b/regress/usr.bin/mandoc/roff/esc/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.12 2017/06/14 01:31:19 schwarze Exp $ +# $OpenBSD: Makefile,v 1.13 2017/06/14 18:23:26 schwarze Exp $ -REGRESS_TARGETS = one two multi B c c_man e f h o p w z ignore -LINT_TARGETS = B h w ignore +REGRESS_TARGETS = one two multi B c c_man e f h l o p w z ignore +LINT_TARGETS = B h l w ignore .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/roff/esc/l.in b/regress/usr.bin/mandoc/roff/esc/l.in new file mode 100644 index 00000000000..59b9b5cfdfd --- /dev/null +++ b/regress/usr.bin/mandoc/roff/esc/l.in @@ -0,0 +1,22 @@ +.Dd June 14, 2017 +.Dt ESC-L 1 +.Os OpenBSD +.Sh NAME +.Nm esc-l +.Nd the roff escape l sequence: horizontal line +.Sh DESCRIPTION +explicit scaling unit and fill char: >\l'2nf'< +.br +explicit scaling unit and default char: >\l'3n'< +.br +default unit and explicit fill char: >\l'4x'< +.br +default unit and char: >\l'5'< +.br +explicit scaling unit and escape sequence: >\l'6n\(+-'< +.br +default unit and escape char: >\l'7n\(at'< +.br +rounding: >\l'0.26ix'< +.br +invalid delimiter: >\h-< diff --git a/regress/usr.bin/mandoc/roff/esc/l.out_ascii b/regress/usr.bin/mandoc/roff/esc/l.out_ascii new file mode 100644 index 00000000000..f8ab5d19e62 --- /dev/null +++ b/regress/usr.bin/mandoc/roff/esc/l.out_ascii @@ -0,0 +1,16 @@ +ESC-L(1) General Commands Manual ESC-L(1) + +NNAAMMEE + eesscc--ll - the roff escape l sequence: horizontal line + +DDEESSCCRRIIPPTTIIOONN + explicit scaling unit and fill char: >ff< + explicit scaling unit and default char: >___< + default unit and explicit fill char: >xxxx< + default unit and char: >_____< + explicit scaling unit and escape sequence: >+-+-+-< + default unit and escape char: >@@@@@@@< + rounding: >xxx< + invalid delimiter: >< + +OpenBSD June 14, 2017 OpenBSD diff --git a/regress/usr.bin/mandoc/roff/esc/l.out_lint b/regress/usr.bin/mandoc/roff/esc/l.out_lint new file mode 100644 index 00000000000..2141ef410f2 --- /dev/null +++ b/regress/usr.bin/mandoc/roff/esc/l.out_lint @@ -0,0 +1,2 @@ +mandoc: l.in:22:21: WARNING: invalid escape sequence: \h- +mandoc: l.in:1:5: STYLE: Mdocdate missing: Dd June |