aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/rn/tab.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff/rn/tab.in')
-rw-r--r--regress/roff/rn/tab.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/regress/roff/rn/tab.in b/regress/roff/rn/tab.in
new file mode 100644
index 00000000..558b1f42
--- /dev/null
+++ b/regress/roff/rn/tab.in
@@ -0,0 +1,28 @@
+.\" $OpenBSD: tab.in,v 1.1 2019/02/06 20:54:28 schwarze Exp $
+.Dd $Mdocdate: February 6 2019 $
+.Dt RN-TAB 1
+.Os
+.Sh NAME
+.Nm rn-tab
+.Nd tab characters in macro renaming requests
+.Sh DESCRIPTION
+.de test1
+testval
+..
+trying to rename with a tab between the names:
+.rn test1 test2
+.br
+calling the macro with the old name:
+.test1
+.br
+calling the macro with the new name:
+.test2
+.Pp
+trying to rename with a tab after the names:
+.rn test1 test2 ignored
+.br
+calling the macro with the old name:
+.test1
+.br
+calling the macro with the new name:
+.test2