summaryrefslogtreecommitdiffstats
path: root/regress/roff/de/tab.in
blob: 49d3f2ce3498a7cdae76a86ee15b36cf5a226ca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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