aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/UR
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/UR
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/UR')
-rw-r--r--regress/man/UR/args.in8
-rw-r--r--regress/man/UR/args.out_ascii7
-rw-r--r--regress/man/UR/args.out_lint10
3 files changed, 17 insertions, 8 deletions
diff --git a/regress/man/UR/args.in b/regress/man/UR/args.in
index 183269e8..9afbbee5 100644
--- a/regress/man/UR/args.in
+++ b/regress/man/UR/args.in
@@ -1,13 +1,19 @@
.\" $OpenBSD: args.in,v 1.2 2017/07/04 14:53:24 schwarze Exp $
-.TH UR-ARGS 1 "October 17, 2013"
+.TH UR-ARGS 1 "August 14, 2018"
.SH NAME
UR-basic \- argument handling of the man-ext URI macro
.SH DESCRIPTION
+argument, text, and tail:
+.UR http://www.openbsd.org/
+text
+.UE tail argument
+.PP
argument plus text:
.UR http://www.openbsd.org/
OpenBSD
homepage
.UE
+next line
.PP
argument but no text:
.UR http://www.netbsd.org/
diff --git a/regress/man/UR/args.out_ascii b/regress/man/UR/args.out_ascii
index 9368974a..9b1d2ec3 100644
--- a/regress/man/UR/args.out_ascii
+++ b/regress/man/UR/args.out_ascii
@@ -6,7 +6,10 @@ NNAAMMEE
UR-basic - argument handling of the man-ext URI macro
DDEESSCCRRIIPPTTIIOONN
- argument plus text: OpenBSD homepage <http://www.openbsd.org/>
+ argument, text, and tail: text <http://www.openbsd.org/>tail argument
+
+ argument plus text: OpenBSD homepage <http://www.openbsd.org/> next
+ line
argument but no text: <http://www.netbsd.org/>
@@ -20,4 +23,4 @@ DDEESSCCRRIIPPTTIIOONN
-OpenBSD October 17, 2013 UR-ARGS(1)
+OpenBSD August 14, 2018 UR-ARGS(1)
diff --git a/regress/man/UR/args.out_lint b/regress/man/UR/args.out_lint
index 262c9886..b1525e0f 100644
--- a/regress/man/UR/args.out_lint
+++ b/regress/man/UR/args.out_lint
@@ -1,5 +1,5 @@
-mandoc: args.in:22:11: ERROR: skipping excess arguments: UR ... second
-mandoc: args.in:27:11: ERROR: skipping excess arguments: UR ... second
-mandoc: args.in:13:2: WARNING: empty block: UR
-mandoc: args.in:17:2: WARNING: missing resource identifier, using "": UR
-mandoc: args.in:27:2: WARNING: empty block: UR
+mandoc: args.in:28:11: ERROR: skipping excess arguments: UR ... second
+mandoc: args.in:33:11: ERROR: skipping excess arguments: UR ... second
+mandoc: args.in:19:2: WARNING: empty block: UR
+mandoc: args.in:23:2: WARNING: missing resource identifier, using "": UR
+mandoc: args.in:33:2: WARNING: empty block: UR