summary refs log tree commit diff
path: root/bin/man1/mtags.1
blob: 57856ba0fd19c77c192dbc30806edb1b84241197 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.Dd January 20, 2021
.Dt MTAGS 1
.Os
.
.Sh NAME
.Nm mtags
.Nd miscellaneous tags
.
.Sh SYNOPSIS
.Nm
.Op Fl a
.Op Fl f Ar tagsfile
.Ar
.
.Sh DESCRIPTION
The
.Nm
utility
makes a
.Pa tags
file for
.Xr ex 1
from the specified
.Xr make 1 ,
.Xr mdoc 7
.Xr sh 1
sources.
.
.Pp
The arguments are as follows:
.Bl -tag -width Ds
.It Fl a
Append to
.Pa tags
file.
.It Fl f Ar tagsfile
Place the tag descriptions
in a file called
.Ar tagsfile .
The default behaviour is
to place them in a file called
.Pa tags .
.El
.
.Pp
Files whose names are
.Pa Makefile
or end in
.Pa .mk
are assumed to be
.Xr make 1
files.
Files whose names end in
.Pa .[1-9]
are assumed to be
.Xr mdoc 7
files.
Files whose names are
.Pa .profile ,
.Pa .shrc
or end in
.Pa .sh
are assumed to be
.Xr sh 1
files.
.
.Sh FILES
.Bl -tag -width Ds
.It Pa tags
default output tags file
.El
.
.Sh SEE ALSO
.Xr ctags 1 ,
.Xr ex 1 ,
.Xr vi 1