2006-12-28 23:06:40 +00:00
|
|
|
--- etags.1
|
|
|
|
+++ etags.1
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
..
|
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
-etags, ctags \- generate tag file for Emacs, vi
|
|
|
|
+etags, gnuctags \- generate tag file for Emacs, vi
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.hy 0
|
|
|
|
.na
|
2007-11-13 20:47:04 +00:00
|
|
|
@@ -26,7 +26,7 @@ etags, ctags \- generate tag file for Em
|
2006-12-28 23:06:40 +00:00
|
|
|
[\|\-\-help\|] [\|\-\-version\|]
|
|
|
|
\fIfile\fP .\|.\|.
|
|
|
|
|
|
|
|
-\fBctags\fP [\|\-aCdgIRVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|]
|
|
|
|
+\fBgnuctags\fP [\|\-aCdgIRVh\|] [\|\-BtTuvwx\|] [\|\-l \fIlanguage\fP\|]
|
|
|
|
.if n .br
|
|
|
|
[\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|]
|
|
|
|
[\|\-\-parse\-stdin=\fIfile\fP\|]
|
2008-01-09 20:58:46 +00:00
|
|
|
@@ -45,7 +45,7 @@ etags, ctags \- generate tag file for Em
|
2006-12-28 23:06:40 +00:00
|
|
|
The \|\fBetags\fP\| program is used to create a tag table file, in a format
|
|
|
|
understood by
|
|
|
|
.BR emacs ( 1 )\c
|
|
|
|
-\&; the \|\fBctags\fP\| program is used to create a similar table in a
|
|
|
|
+\&; the \|\fBgnuctags\fP\| program is used to create a similar table in a
|
|
|
|
format understood by
|
|
|
|
.BR vi ( 1 )\c
|
|
|
|
\&. Both forms of the program understand
|
2008-01-09 20:58:46 +00:00
|
|
|
@@ -55,7 +55,7 @@ Python, Prolog, Scheme and
|
2006-12-28 23:06:40 +00:00
|
|
|
most assembler\-like syntaxes.
|
|
|
|
Both forms read the files specified on the command line, and write a tag
|
|
|
|
table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for
|
|
|
|
-\fBctags\fP) in the current working directory.
|
|
|
|
+\fBgnuctags\fP) in the current working directory.
|
|
|
|
Files specified with relative file names will be recorded in the tag
|
|
|
|
table with file names relative to the directory where the tag table
|
2008-01-09 20:58:46 +00:00
|
|
|
resides. If the tag table is in /dev or is the standard output,
|
|
|
|
@@ -70,7 +70,7 @@ parsing of the file names following the
|
2006-12-28 23:06:40 +00:00
|
|
|
language, overriding guesses based on filename extensions.
|
|
|
|
.SH OPTIONS
|
|
|
|
Some options make sense only for the \fBvi\fP style tag files produced
|
|
|
|
-by ctags;
|
|
|
|
+by gnuctags;
|
|
|
|
\fBetags\fP does not recognize them.
|
|
|
|
The programs accept unambiguous abbreviations for long option names.
|
|
|
|
.TP
|
2008-01-09 20:58:46 +00:00
|
|
|
@@ -84,7 +84,7 @@ expression search instructions; the \fB\
|
2006-12-28 23:06:40 +00:00
|
|
|
the delimiter `\|\fB?\fP\|', to search \fIbackwards\fP through files.
|
|
|
|
The default is to use the delimiter `\|\fB/\fP\|', to search \fIforwards\fP
|
|
|
|
through files.
|
|
|
|
-Only \fBctags\fP accepts this option.
|
|
|
|
+Only \fBgnuctags\fP accepts this option.
|
|
|
|
.TP
|
|
|
|
.B \-\-declarations
|
|
|
|
In C and derived languages, create tags for function declarations,
|
2008-01-09 20:58:46 +00:00
|
|
|
@@ -154,7 +154,7 @@ the previous ones. The regexps are of o
|
2006-12-28 23:06:40 +00:00
|
|
|
where \fItagregexp\fP is used to match the tag. It should not match
|
|
|
|
useless characters. If the match is such that more characters than
|
|
|
|
needed are unavoidably matched by \fItagregexp\fP, it may be useful to
|
|
|
|
-add a \fInameregexp\fP, to narrow down the tag scope. \fBctags\fP
|
|
|
|
+add a \fInameregexp\fP, to narrow down the tag scope. \fBgnuctags\fP
|
|
|
|
ignores regexps without a \fInameregexp\fP. The syntax of regexps is
|
|
|
|
the same as in emacs. The following character escape sequences are
|
|
|
|
supported: \\a, \\b, \\d, \\e, \\f, \\n, \\r, \\t, \\v, which
|
2008-01-09 20:58:46 +00:00
|
|
|
@@ -233,15 +233,15 @@ tag entries for other files in place. C
|
2006-12-28 23:06:40 +00:00
|
|
|
by deleting the existing entries for the given files and then
|
|
|
|
rewriting the new entries at the end of the tags file. It is often
|
|
|
|
faster to simply rebuild the entire tag file than to use this.
|
|
|
|
-Only \fBctags\fP accepts this option.
|
|
|
|
+Only \fBgnuctags\fP accepts this option.
|
|
|
|
.TP
|
|
|
|
.B \-v, \-\-vgrind
|
|
|
|
Instead of generating a tag file, write index (in \fBvgrind\fP format)
|
|
|
|
-to standard output. Only \fBctags\fP accepts this option.
|
|
|
|
+to standard output. Only \fBgnuctags\fP accepts this option.
|
|
|
|
.TP
|
|
|
|
.B \-x, \-\-cxref
|
|
|
|
Instead of generating a tag file, write a cross reference (in
|
|
|
|
-\fBcxref\fP format) to standard output. Only \fBctags\fP accepts this option.
|
|
|
|
+\fBcxref\fP format) to standard output. Only \fBgnuctags\fP accepts this option.
|
|
|
|
.TP
|
|
|
|
.B \-h, \-H, \-\-help
|
|
|
|
Print usage information. Followed by one or more \-\-language=LANG
|
2008-01-09 20:58:46 +00:00
|
|
|
@@ -255,8 +255,10 @@ emacs \fBetags\fP is shipped with).
|
2006-12-28 23:06:40 +00:00
|
|
|
`\|\fBemacs\fP\|' entry in \fBinfo\fP; \fIGNU Emacs Manual\fP, Richard
|
|
|
|
Stallman.
|
|
|
|
.br
|
|
|
|
+.BR ctags ( 1 ),
|
|
|
|
.BR cxref ( 1 ),
|
|
|
|
.BR emacs ( 1 ),
|
|
|
|
+.BR gnuctags ( 1 ),
|
|
|
|
.BR vgrind ( 1 ),
|
|
|
|
.BR vi ( 1 ).
|
|
|
|
|