summaryrefslogtreecommitdiffstats
path: root/regress/roff/string/std.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff/string/std.in')
-rw-r--r--regress/roff/string/std.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/regress/roff/string/std.in b/regress/roff/string/std.in
new file mode 100644
index 00000000..f460b101
--- /dev/null
+++ b/regress/roff/string/std.in
@@ -0,0 +1,10 @@
+.TH STRING-STD 1 "June 18, 2017" OpenBSD
+.SH NAME
+string-std - expanding standard macros as strings
+.SH DESCRIPTION
+expanding the DT macro as a string:
+>>>\*[DT]<<<
+.PP
+.rn DT myname
+the same after renaming it:
+>>>\*[myname]<<<