summaryrefslogtreecommitdiffstats
path: root/regress/roff/de/tab.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/roff/de/tab.in')
-rw-r--r--regress/roff/de/tab.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/regress/roff/de/tab.in b/regress/roff/de/tab.in
new file mode 100644
index 00000000..49d3f2ce
--- /dev/null
+++ b/regress/roff/de/tab.in
@@ -0,0 +1,41 @@
+.\" $OpenBSD: tab.in,v 1.1 2019/02/06 20:54:28 schwarze Exp $
+.Dd $Mdocdate$
+.Dt DE-TAB 1
+.Os
+.Sh NAME
+.Nm de-tab
+.Nd tab characters in macro definition lines
+.Sh DESCRIPTION
+.de test1 ignored
+testval \\$1;\\$2
+..
+no argument:
+.test1
+.br
+argument after_tab:
+.test1 after_tab
+.br
+argument after_tab_and_space:
+.test1 after_tab_and_space
+.br
+argument after_two_tabs:
+.test1 after_two_tabs
+.br
+argument after_tab_tab_space:
+.test1 after_tab_tab_space
+.Ss End marker
+.de test2 endm ignored
+testval \\$1;\\$2
+.endm
+no argument:
+.test2
+.br
+argument after_tab:
+.test2 after_tab
+.Ss Removal
+.rm test1 test2
+macro test1 is gone:
+.test1
+.br
+macro test2 still exists:
+.test2