aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/MT
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-14 01:27:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-14 01:27:48 +0000
commit239614951577ba74078ca14afdba3508fb622fcb (patch)
treeb0cad4641ba4301bfba799b00568ad282f56890b /regress/man/MT
parent6a76b50ce922aa5133e03e44dd1c91f7f6d7d745 (diff)
downloadmandoc-239614951577ba74078ca14afdba3508fb622fcb.tar.gz
mandoc-239614951577ba74078ca14afdba3508fb622fcb.tar.zst
mandoc-239614951577ba74078ca14afdba3508fb622fcb.zip
support tail arguments on the .ME and .UE macros,
used for example in the ditroff(7) manual of the groff package
Diffstat (limited to 'regress/man/MT')
-rw-r--r--regress/man/MT/args.in8
-rw-r--r--regress/man/MT/args.out_ascii6
-rw-r--r--regress/man/MT/args.out_lint10
3 files changed, 16 insertions, 8 deletions
diff --git a/regress/man/MT/args.in b/regress/man/MT/args.in
index c6ea1526..806e1a77 100644
--- a/regress/man/MT/args.in
+++ b/regress/man/MT/args.in
@@ -1,13 +1,19 @@
.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:23 schwarze Exp $
-.TH MT-ARGS 1 "June 25, 2017"
+.TH MT-ARGS 1 "August 13, 2018"
.SH NAME
MT-args \- argument handling of the man-ext mailto macro
.SH DESCRIPTION
+argument, text, and tail:
+.MT test@example.com
+text
+.ME tail args
+.PP
argument plus text:
.MT test@example.com
invalid
address
.ME
+next line
.PP
argument but no text:
.MT test@example.com
diff --git a/regress/man/MT/args.out_ascii b/regress/man/MT/args.out_ascii
index 05939dcb..09dd4cd1 100644
--- a/regress/man/MT/args.out_ascii
+++ b/regress/man/MT/args.out_ascii
@@ -6,7 +6,9 @@ NNAAMMEE
MT-args - argument handling of the man-ext mailto macro
DDEESSCCRRIIPPTTIIOONN
- argument plus text: invalid address <test@example.com>
+ argument, text, and tail: text <test@example.com>tail args
+
+ argument plus text: invalid address <test@example.com> next line
argument but no text: <test@example.com>
@@ -20,4 +22,4 @@ DDEESSCCRRIIPPTTIIOONN
-OpenBSD June 25, 2017 MT-ARGS(1)
+OpenBSD August 13, 2018 MT-ARGS(1)
diff --git a/regress/man/MT/args.out_lint b/regress/man/MT/args.out_lint
index e94e63de..b06ec906 100644
--- a/regress/man/MT/args.out_lint
+++ b/regress/man/MT/args.out_lint
@@ -1,5 +1,5 @@
-mandoc: args.in:22:11: ERROR: skipping excess arguments: MT ... second
-mandoc: args.in:27:11: ERROR: skipping excess arguments: MT ... second
-mandoc: args.in:13:2: WARNING: empty block: MT
-mandoc: args.in:17:2: WARNING: missing resource identifier, using "": MT
-mandoc: args.in:27:2: WARNING: empty block: MT
+mandoc: args.in:28:11: ERROR: skipping excess arguments: MT ... second
+mandoc: args.in:33:11: ERROR: skipping excess arguments: MT ... second
+mandoc: args.in:19:2: WARNING: empty block: MT
+mandoc: args.in:23:2: WARNING: missing resource identifier, using "": MT
+mandoc: args.in:33:2: WARNING: empty block: MT