annotate doc/man/etags.1 @ 91164:b4a503e69ff9

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Mon, 03 Dec 2007 01:42:57 +0000
parents a6f4778a1ad7
children 127279e2403a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
83913
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 .\" Copyright (C) 1992, 2001, 2002, 2003, 2004,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 .\" 2005, 2006, 2007 Free Software Foundation, Inc.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 .\" See section COPYING for conditions for redistribution
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4 .TH etags 1 "23nov2001" "GNU Tools" "GNU Tools"
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 .de BP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 .sp
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 .ti -.2i
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 \(**
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9 ..
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 .SH NAME
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 etags, ctags \- generate tag file for Emacs, vi
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 .SH SYNOPSIS
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 .hy 0
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 .na
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 \fBetags\fP [\|\-aCDGIRVh\|] [\|\-i \fIfile\fP\|] [\|\-l \fIlanguage\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 .if n .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18 [\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 [\|\-\-parse\-stdin=\fIfile\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 [\|\-\-append\|] [\|\-\-no\-defines\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22 [\|\-\-no\-globals\|] [\|\-\-include=\fIfile\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 [\|\-\-ignore\-indentation\|] [\|\-\-language=\fIlanguage\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 [\|\-\-no\-members\|] [\|\-\-output=\fItagfile\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 [\|\-\-regex=\fIregexp\fP\|] [\|\-\-no\-regex\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 [\|\-\-help\|] [\|\-\-version\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 \fIfile\fP .\|.\|.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29 \fBctags\fP [\|\-aCdgIRVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 .if n .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 [\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 [\|\-\-parse\-stdin=\fIfile\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34 [\|\-\-append\|] [\|\-\-backward\-search\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 [\|\-\-cxref\|] [\|\-\-defines\|] [\|\-\-forward\-search\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 [\|\-\-globals\|] [\|\-\-ignore\-indentation\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 [\|\-\-language=\fIlanguage\fP\|] [\|\-\-members\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 [\|\-\-output=\fItagfile\fP\|] [\|\-\-regex=\fIregexp\fP\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 [\|\-\-typedefs\|] [\|\-\-typedefs\-and\-c++\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 [\|\-\-update\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41 [\|\-\-help\|] [\|\-\-version\|]
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 \fIfile\fP .\|.\|.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 .ad b
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 .hy 1
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 .SH DESCRIPTION
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46 The \|\fBetags\fP\| program is used to create a tag table file, in a format
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 understood by
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48 .BR emacs ( 1 )\c
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 \&; the \|\fBctags\fP\| program is used to create a similar table in a
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 format understood by
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 .BR vi ( 1 )\c
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 \&. Both forms of the program understand
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53 the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, HTML,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 LaTeX, Emacs Lisp/Common Lisp, Lua, makefile, Pascal, Perl, PHP, Postscript,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 Python, Prolog, Scheme and
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 most assembler\-like syntaxes.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 Both forms read the files specified on the command line, and write a tag
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 \fBctags\fP) in the current working directory.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 Files specified with relative file names will be recorded in the tag
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 table with file names relative to the directory where the tag table
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62 resides. If the tag table is in /dev, however, the file names are made
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 relative to the working directory. Files specified with absolute file
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 names will be recorded
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65 with absolute file names. Files generated from a source file\-\-like
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 a C file generated from a source Cweb file\-\-will be recorded with
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67 the name of the source file.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 The programs recognize the language used in an input file based on its
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 file name and contents. The \fB\-\-language\fP switch can be used to force
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70 parsing of the file names following the switch according to the given
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 language, overriding guesses based on filename extensions.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72 .SH OPTIONS
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 Some options make sense only for the \fBvi\fP style tag files produced
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 by ctags;
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 \fBetags\fP does not recognize them.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76 The programs accept unambiguous abbreviations for long option names.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78 .B \-a, \-\-append
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 Append to existing tag file. (For \fBvi\fP-format tag files, see also
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 \fB\-\-update\fP.)
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 .B \-B, \-\-backward\-search
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 Tag files written in the format expected by \fBvi\fP contain regular
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 expression search instructions; the \fB\-B\fP option writes them using
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85 the delimiter `\|\fB?\fP\|', to search \fIbackwards\fP through files.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 The default is to use the delimiter `\|\fB/\fP\|', to search \fIforwards\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 through files.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88 Only \fBctags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 .B \-\-declarations
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91 In C and derived languages, create tags for function declarations,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 and create tags for extern variables unless \-\-no\-globals is used.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94 .B \-d, \-\-defines
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 Create tag entries for C preprocessor constant definitions
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 and enum constants, too. Since this is the default behavior of
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 \fBetags\fP, only \fBctags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99 .B \-D, \-\-no\-defines
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 Do not create tag entries for C preprocessor constant definitions
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 and enum constants.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 This may make the tags file much smaller if many header files are tagged.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 Since this is the default behavior of \fBctags\fP, only \fBetags\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104 accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 .B \-\-globals
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 Create tag entries for global variables in C, C++, Objective C, Java,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 and Perl.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 Since this is the default behavior of \fBetags\fP, only \fBctags\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110 accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 .B \-\-no\-globals
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 Do not tag global variables. Typically this reduces the file size by
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 one fourth. Since this is the default behavior of \fBctags\fP, only
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 \fBetags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117 \fB\-i\fP \fIfile\fP, \fB\-\-include=\fIfile\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 Include a note in the tag file indicating that, when searching for a
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119 tag, one should also consult the tags file \fIfile\fP after checking the
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 current file. Only \fBetags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 .B \-I, \-\-ignore\-indentation
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 Don't rely on indentation as much as we normally do. Currently, this
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 means not to assume that a closing brace in the first column is the
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125 final brace of a function or structure definition in C and C++.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 \fB\-l\fP \fIlanguage\fP, \fB\-\-language=\fIlanguage\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 Parse the following files according to the given language. More than
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 one such options may be intermixed with filenames. Use \fB\-\-help\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 to get a list of the available languages and their default filename
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 extensions. The `auto' language can be used to restore automatic
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 detection of language based on the file name. The `none'
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133 language may be used to disable language parsing altogether; only
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 regexp matching is done in this case (see the \fB\-\-regex\fP option).
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136 .B \-\-members
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 Create tag entries for variables that are members of structure-like
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138 constructs in C++, Objective C, Java. This is the default for etags.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 .B \-\-no\-members
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 Do not tag member variables. This is the default for ctags.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143 .B \-\-packages\-only
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 Only tag packages in Ada files.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 \fB\-\-parse\-stdin=\fIfile\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147 May be used (only once) in place of a file name on the command line.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 \fBetags\fP will read from standard input and mark the produced tags
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 as belonging to the file \fBFILE\fP.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 \fB\-o\fP \fItagfile\fP, \fB\-\-output=\fItagfile\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152 Explicit name of file for tag table; overrides default \fBTAGS\fP or
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 \fBtags\fP. (But ignored with \fB\-v\fP or \fB\-x\fP.)
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 \fB\-r\fP \fIregexp\fP, \fB\-\-regex=\fIregexp\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157 Make tags based on regexp matching for the files following this option,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 in addition to the tags made with the standard parsing based on
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 language. May be freely intermixed with filenames and the \fB\-R\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 option. The regexps are cumulative, i.e. each such option will add to
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161 the previous ones. The regexps are of one of the forms:
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 [\fB{\fP\fIlanguage\fP\fB}\fP]\fB/\fP\fItagregexp/\fP[\fInameregexp\fP\fB/\fP]\fImodifiers\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165 \fB@\fP\fIregexfile\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 where \fItagregexp\fP is used to match the tag. It should not match
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169 useless characters. If the match is such that more characters than
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 needed are unavoidably matched by \fItagregexp\fP, it may be useful to
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 add a \fInameregexp\fP, to narrow down the tag scope. \fBctags\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172 ignores regexps without a \fInameregexp\fP. The syntax of regexps is
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173 the same as in emacs. The following character escape sequences are
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 supported: \\a, \\b, \\d, \\e, \\f, \\n, \\r, \\t, \\v, which
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 respectively stand for the ASCII characters BEL, BS, DEL, ESC, FF, NL,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 CR, TAB, VT.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178 The \fImodifiers\fP are a sequence of 0 or more characters among
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179 \fIi\fP, which means to ignore case when matching; \fIm\fP, which means
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 that the \fItagregexp\fP will be matched against the whole file contents
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181 at once, rather than line by line, and the matching sequence can match
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182 multiple lines; and \fIs\fP, which implies \fIm\fP and means that the
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 dot character in \fItagregexp\fP matches the newline char as well.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185 The separator, which is \fB/\fP in the examples, can be any character
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 different from space, tab, braces and \fB@\fP. If the separator
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187 character is needed inside the regular expression, it must be quoted
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 by preceding it with \fB\\\fP.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 The optional \fB{\fP\fIlanguage\fP\fB}\fP prefix means that the tag
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 should be
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192 created only for files of language \fIlanguage\fP, and ignored
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193 otherwise. This is particularly useful when storing many predefined
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194 regexps in a file.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196 In its second form, \fIregexfile\fP is the name of a file that contains
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 a number of arguments to the \fI\-\-regex\=\fP option,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198 one per line. Lines beginning with a space or tab are assumed
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199 to be comments, and ignored.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202 Here are some examples. All the regexps are quoted to protect them
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203 from shell interpretation.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 Tag the DEFVAR macros in the emacs source files:
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208 \fI\-\-regex\='/[ \\t]*DEFVAR_[A-Z_ \\t(]+"\\([^"]+\\)"/'\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 .\"" This comment is to avoid confusion to Emacs syntax highlighting
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 Tag VHDL files (this example is a single long line, broken here for
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213 formatting reasons):
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215 \fI\-\-language\=none\ \-\-regex='/[\ \\t]*\\(ARCHITECTURE\\|\\
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216 CONFIGURATION\\)\ +[^\ ]*\ +OF/'\ \-\-regex\='/[\ \\t]*\\
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217 \\(ATTRIBUTE\\|ENTITY\\|FUNCTION\\|PACKAGE\\(\ BODY\\)?\\
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 \\|PROCEDURE\\|PROCESS\\|TYPE\\)[\ \\t]+\\([^\ \\t(]+\\)/\\3/'\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 Tag TCL files (this last example shows the usage of a \fItagregexp\fP):
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 \fI\-\-lang\=none \-\-regex\='/proc[\ \\t]+\\([^\ \\t]+\\)/\\1/'\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226 A regexp can be preceded by {\fIlang\fP}, thus restricting it to match
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227 lines of files of the specified language. Use \fBetags \-\-help\fP to obtain
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228 a list of the recognised languages. This feature is particularly useful inside
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229 \fBregex files\fP. A regex file contains one regex per line. Empty lines,
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230 and those lines beginning with space or tab are ignored. Lines beginning
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231 with @ are references to regex files whose name follows the @ sign. Other
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232 lines are considered regular expressions like those following \fB\-\-regex\fP.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234 For example, the command
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236 \fIetags \-\-regex=@regex.file *.c\fP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 reads the regexes contained in the file regex.file.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240 .B \-R, \-\-no\-regex
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241 Don't do any more regexp matching on the following files. May be
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242 freely intermixed with filenames and the \fB\-\-regex\fP option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 .B \-t, \-\-typedefs
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245 Record typedefs in C code as tags. Since this is the default behavior
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246 of \fBetags\fP, only \fBctags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248 .B \-T, \-\-typedefs\-and\-c++
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 Generate tag entries for typedefs, struct, enum, and union tags, and
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 C++ member functions. Since this is the default behavior
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251 of \fBetags\fP, only \fBctags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253 .B \-u, \-\-update
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254 Update tag entries for \fIfiles\fP specified on command line, leaving
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255 tag entries for other files in place. Currently, this is implemented
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 by deleting the existing entries for the given files and then
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 rewriting the new entries at the end of the tags file. It is often
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258 faster to simply rebuild the entire tag file than to use this.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 Only \fBctags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 .B \-v, \-\-vgrind
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 Instead of generating a tag file, write index (in \fBvgrind\fP format)
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263 to standard output. Only \fBctags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 .B \-x, \-\-cxref
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266 Instead of generating a tag file, write a cross reference (in
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 \fBcxref\fP format) to standard output. Only \fBctags\fP accepts this option.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 .B \-h, \-H, \-\-help
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270 Print usage information. Followed by one or more \-\-language=LANG
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271 prints detailed information about how tags are created for LANG.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272 .TP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273 .B \-V, \-\-version
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274 Print the current version of the program (same as the version of the
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275 emacs \fBetags\fP is shipped with).
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277 .SH "SEE ALSO"
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278 `\|\fBemacs\fP\|' entry in \fBinfo\fP; \fIGNU Emacs Manual\fP, Richard
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279 Stallman.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
280 .br
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281 .BR cxref ( 1 ),
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 .BR emacs ( 1 ),
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283 .BR vgrind ( 1 ),
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284 .BR vi ( 1 ).
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286 .SH COPYING
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 Copyright
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288 .if t \(co
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 .if n (c)
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291 .PP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292 Permission is granted to make and distribute verbatim copies of this
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 document provided the copyright notice and this permission notice are
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294 preserved on all copies.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295 .PP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296 Permission is granted to copy and distribute modified versions of
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297 this document under the conditions for verbatim copying, provided that
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298 the entire resulting derived work is distributed under the terms of
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 a permission notice identical to this one.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300 .PP
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301 Permission is granted to copy and distribute translations of this
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 document into another language, under the above conditions for
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 modified versions, except that this permission notice may be stated
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304 in a translation approved by the Free Software Foundation.
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305
a6f4778a1ad7 Move here from ../../etc/
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 .\" arch-tag: 9534977f-af78-42f0-991d-1df6b6c05573