Commit 228a8cfd authored by Francesco Potortì's avatar Francesco Potortì
Browse files

Compressed files are supported using gzip and bzip2.

parent b15596f2
...@@ -18,10 +18,10 @@ etags, ctags \- generate tag file for Emacs, vi ...@@ -18,10 +18,10 @@ etags, ctags \- generate tag file for Emacs, vi
[\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|] [\|\-o \fItagfile\fP\|] [\|\-r \fIregexp\fP\|]
[\|\-\-parse\-stdin=\fIfile\fP\|] [\|\-\-parse\-stdin=\fIfile\fP\|]
.br .br
[\|\-\-append\|] [\|\-\-no\-defines\|] [\|\-\-append\|] [\|\-\-no\-defines\|] [\|\-\-globals\|]
[\|\-\-no\-globals\|] [\|\-\-include=\fIfile\fP\|] [\|\-\-no\-globals\|] [\|\-\-include=\fIfile\fP\|]
[\|\-\-ignore\-indentation\|] [\|\-\-language=\fIlanguage\fP\|] [\|\-\-ignore\-indentation\|] [\|\-\-language=\fIlanguage\fP\|]
[\|\-\-no\-members\|] [\|\-\-output=\fItagfile\fP\|] [\|\-\-members\|] [\|\-\-no\-members\|] [\|\-\-output=\fItagfile\fP\|]
[\|\-\-regex=\fIregexp\fP\|] [\|\-\-no\-regex\|] [\|\-\-regex=\fIregexp\fP\|] [\|\-\-no\-regex\|]
[\|\-\-help\|] [\|\-\-version\|] [\|\-\-help\|] [\|\-\-version\|]
\fIfile\fP .\|.\|. \fIfile\fP .\|.\|.
...@@ -32,9 +32,9 @@ etags, ctags \- generate tag file for Emacs, vi ...@@ -32,9 +32,9 @@ etags, ctags \- generate tag file for Emacs, vi
[\|\-\-parse\-stdin=\fIfile\fP\|] [\|\-\-parse\-stdin=\fIfile\fP\|]
.br .br
[\|\-\-append\|] [\|\-\-backward\-search\|] [\|\-\-append\|] [\|\-\-backward\-search\|]
[\|\-\-cxref\|] [\|\-\-no\-defines\|] [\|\-\-forward\-search\|] [\|\-\-cxref\|] [\|\-\-no\-defines\|]
[\|\-\-no\-globals\|] [\|\-\-ignore\-indentation\|] [\|\-\-globals\|] [\|\-\-no\-globals\|] [\|\-\-ignore\-indentation\|]
[\|\-\-language=\fIlanguage\fP\|] [\|\-\-no\-members\|] [\|\-\-language=\fIlanguage\fP\|] [\|\-\-members\|] [\|\-\-no\-members\|]
[\|\-\-output=\fItagfile\fP\|] [\|\-\-regex=\fIregexp\fP\|] [\|\-\-output=\fItagfile\fP\|] [\|\-\-regex=\fIregexp\fP\|]
[\|\-\-update\|] [\|\-\-update\|]
[\|\-\-help\|] [\|\-\-version\|] [\|\-\-help\|] [\|\-\-version\|]
...@@ -49,9 +49,9 @@ understood by ...@@ -49,9 +49,9 @@ understood by
format understood by format understood by
.BR vi ( 1 )\c .BR vi ( 1 )\c
\&. Both forms of the program understand \&. Both forms of the program understand
the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang, HTML, the syntax of C, Objective C, C++, Java, Fortran, Ada, Cobol, Erlang,
LaTeX, Emacs Lisp/Common Lisp, Lua, makefile, Pascal, Perl, PHP, Postscript, Forth, HTML, LaTeX, Emacs Lisp/Common Lisp, Lua, Makefile, Pascal, Perl,
Python, Prolog, Scheme and PHP, Postscript, Python, Prolog, Scheme and
most assembler\-like syntaxes. most assembler\-like syntaxes.
Both forms read the files specified on the command line, and write a tag Both forms read the files specified on the command line, and write a tag
table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for table (defaults: \fBTAGS\fP for \fBetags\fP, \fBtags\fP for
...@@ -64,6 +64,7 @@ Files specified with absolute file names will be recorded ...@@ -64,6 +64,7 @@ Files specified with absolute file names will be recorded
with absolute file names. Files generated from a source file\-\-like with absolute file names. Files generated from a source file\-\-like
a C file generated from a source Cweb file\-\-will be recorded with a C file generated from a source Cweb file\-\-will be recorded with
the name of the source file. the name of the source file.
Compressed files are supported using gzip and bzip2.
The programs recognize the language used in an input file based on its The programs recognize the language used in an input file based on its
file name and contents. The \fB\-\-language\fP switch can be used to force file name and contents. The \fB\-\-language\fP switch can be used to force
parsing of the file names following the switch according to the given parsing of the file names following the switch according to the given
...@@ -95,9 +96,13 @@ Do not create tag entries for C preprocessor constant definitions ...@@ -95,9 +96,13 @@ Do not create tag entries for C preprocessor constant definitions
and enum constants. and enum constants.
This may make the tags file much smaller if many header files are tagged. This may make the tags file much smaller if many header files are tagged.
.TP .TP
.B \-\-globals
Create tag entries for global variables in Perl and Makefile. This is
the default in C and derived languages.
.TP
.B \-\-no\-globals .B \-\-no\-globals
Do not tag global variables. Typically this reduces the file size by Do not tag global variables in C and derived languages. Typically this
one fourth. reduces the file size by one fourth.
.TP .TP
\fB\-i\fP \fIfile\fP, \fB\-\-include=\fIfile\fP \fB\-i\fP \fIfile\fP, \fB\-\-include=\fIfile\fP
Include a note in the tag file indicating that, when searching for a Include a note in the tag file indicating that, when searching for a
...@@ -120,7 +125,7 @@ regexp matching is done in this case (see the \fB\-\-regex\fP option). ...@@ -120,7 +125,7 @@ regexp matching is done in this case (see the \fB\-\-regex\fP option).
.TP .TP
.B \-\-members .B \-\-members
Create tag entries for variables that are members of structure-like Create tag entries for variables that are members of structure-like
constructs in C++, Objective C, Java. This is the default. constructs in PHP. This is the default for C and derived languages.
.TP .TP
.B \-\-no\-members .B \-\-no\-members
Do not tag member variables. Do not tag member variables.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment