summaryrefslogtreecommitdiffstats
path: root/regress/roff/esc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 18:23:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 18:23:37 +0000
commit2a48f78da8bb430cb5844acbc1149ebb10dc9055 (patch)
treea77aa3dc3c4fb17c9999930b1dc180faca0ba1c3 /regress/roff/esc
parent29dca53ec230c4b598c402ca964e308ca2dd627f (diff)
downloadmandoc-2a48f78da8bb430cb5844acbc1149ebb10dc9055.tar.gz
let \l use the right fill character
Diffstat (limited to 'regress/roff/esc')
-rw-r--r--regress/roff/esc/Makefile4
-rw-r--r--regress/roff/esc/l.in22
-rw-r--r--regress/roff/esc/l.out_ascii16
-rw-r--r--regress/roff/esc/l.out_lint2
4 files changed, 42 insertions, 2 deletions
diff --git a/regress/roff/esc/Makefile b/regress/roff/esc/Makefile
index 4c8e492b..32589479 100644
--- a/regress/roff/esc/Makefile
+++ b/regress/roff/esc/Makefile
@@ -1,6 +1,6 @@
# $OpenBSD: Makefile,v 1.11 2015/04/29 18:32:57 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/roff/esc/l.in b/regress/roff/esc/l.in
new file mode 100644
index 00000000..59b9b5cf
--- /dev/null
+++ b/regress/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/roff/esc/l.out_ascii b/regress/roff/esc/l.out_ascii
new file mode 100644
index 00000000..f8ab5d19
--- /dev/null
+++ b/regress/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/roff/esc/l.out_lint b/regress/roff/esc/l.out_lint
new file mode 100644
index 00000000..2141ef41
--- /dev/null
+++ b/regress/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