summaryrefslogtreecommitdiffstats
path: root/regress/roff/string
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-10-24 22:57:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-10-24 22:57:39 +0000
commitd795180ba82e3803716976abe8f023462d0c1576 (patch)
tree5f7bd6f6c1d284cc466a64943b41ee38e77d33c5 /regress/roff/string
parente6ebe29e01dda236ae873eb8841f10bc6640c8d5 (diff)
downloadmandoc-d795180ba82e3803716976abe8f023462d0c1576.tar.gz
Treat \*[.T] in the same way as \*(.T rather than calling abort(3).
Bug found because the groff-current manual pages started using the variant form of this predefined string.
Diffstat (limited to 'regress/roff/string')
-rw-r--r--regress/roff/string/dotT.in4
-rw-r--r--regress/roff/string/dotT.out_ascii7
-rw-r--r--regress/roff/string/dotT.out_html6
-rw-r--r--regress/roff/string/dotT.out_markdown4
-rw-r--r--regress/roff/string/dotT.out_utf86
5 files changed, 17 insertions, 10 deletions
diff --git a/regress/roff/string/dotT.in b/regress/roff/string/dotT.in
index 417746cf..22bfa015 100644
--- a/regress/roff/string/dotT.in
+++ b/regress/roff/string/dotT.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dotT.in,v 1.2 2019/01/07 06:51:37 schwarze Exp $
+.\" $OpenBSD: dotT.in,v 1.3 2020/10/24 22:52:34 schwarze Exp $
.Dd $Mdocdate$
.Dt STRING-DOTT 1
.Os
@@ -9,9 +9,11 @@
BEGINTEST
.Pp
We are using the \*(.T device.
+It can also be written as the \*[.T] device.
.Pp
.ds .T name
The device \*(.T can be overridden.
+Both escape forms work for the \*[.T].
.nf
ENDTEST
.br
diff --git a/regress/roff/string/dotT.out_ascii b/regress/roff/string/dotT.out_ascii
index 26f53380..28304304 100644
--- a/regress/roff/string/dotT.out_ascii
+++ b/regress/roff/string/dotT.out_ascii
@@ -6,10 +6,11 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
- We are using the ascii device.
+ We are using the ascii device. It can also be written as the ascii
+ device.
- The device name can be overridden.
+ The device name can be overridden. Both escape forms work for the name.
ENDTEST
end of file
-OpenBSD January 7, 2019 OpenBSD
+OpenBSD October 24, 2020 OpenBSD
diff --git a/regress/roff/string/dotT.out_html b/regress/roff/string/dotT.out_html
index 51ab1411..a44d9cef 100644
--- a/regress/roff/string/dotT.out_html
+++ b/regress/roff/string/dotT.out_html
@@ -1,2 +1,4 @@
-<p class="Pp">We are using the html device.</p>
-<p class="Pp">The device name can be overridden.</p>
+<p class="Pp">We are using the html device. It can also be written as the html
+ device.</p>
+<p class="Pp">The device name can be overridden. Both escape forms work for the
+ name.</p>
diff --git a/regress/roff/string/dotT.out_markdown b/regress/roff/string/dotT.out_markdown
index d7400eaa..9ec52b1a 100644
--- a/regress/roff/string/dotT.out_markdown
+++ b/regress/roff/string/dotT.out_markdown
@@ -9,9 +9,11 @@ STRING-DOTT(1) - General Commands Manual
BEGINTEST
We are using the markdown device.
+It can also be written as the markdown device.
The device name can be overridden.
+Both escape forms work for the name.
ENDTEST
end of file
-OpenBSD - January 7, 2019
+OpenBSD - October 24, 2020
diff --git a/regress/roff/string/dotT.out_utf8 b/regress/roff/string/dotT.out_utf8
index 63bbf5fd..2c89f416 100644
--- a/regress/roff/string/dotT.out_utf8
+++ b/regress/roff/string/dotT.out_utf8
@@ -6,10 +6,10 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
BEGINTEST
- We are using the utf8 device.
+ We are using the utf8 device. It can also be written as the utf8 device.
- The device name can be overridden.
+ The device name can be overridden. Both escape forms work for the name.
ENDTEST
end of file
-OpenBSD January 7, 2019 OpenBSD
+OpenBSD October 24, 2020 OpenBSD