Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

emacs(1)

mule(1)

etags(1)  —  Commands

NAME

etags − Generates a tags file for the emacs or mule editor

SYNOPSIS

etags [−a|−append] [−C|−c++] [−D|−no−defines] [−i tagsfile2|−include=tagsfile2] [−o tagsfile|−output=tagsfile] [−S|−ignore−indentation] [−H|−help] [−V|−version] filename...

OPTIONS

−a or −append
Appends output to an existing vi-format tags file. (Supports operation of the emacs editor in vi mode.) 

−C or −c++
Treats files with .c or .h extensions as C++, rather than C, code. The etags command always treats files with .C, .H, .cxx, .hxx, or .cc extensions as C++ code. 

−D or −no-defines
Does not create tag entries for C preprocessor definitions. If many header files are tagged, using this option may make the tags file much smaller.

−i tagsfile2 or −include=tagsfile2
Includes a note in the output tags file to indicate that, when searching for a tag, one should also consult the tagsfile2 tags file. 

−o tagsfile or −output=tagsfile
Explicitly names the output tags file; overrides the default name, which is TAGS. 

−S or −ignore-indentation
Instructs etags not to rely on indentation to determine nesting level. Currently, this means not to assume that a closing brace in the first column is the final brace in a function or structure definition in C or C++ code. 

−H or −help
Prints usage information.

−V or −version
Prints the current version of the program.

OPERANDS

filename...
Specifies the input language source file, or files, to be processed.

DESCRIPTION

The etags program creates a tag table file in a format understood by the emacs editor. The program understands the syntax of C, C++, Fortran, Pascal, and Lisp source files. It reads the source files specified on the command line and writes a tag table (named TAGS by default) in the working directory. Recognition of the language used in an input file is based on the filename extension and file contents; there are no options for specifying the language. 

NOTES

The etags program is software distributed by the Free Software Foundation. 

SEE ALSO

Commands: emacs(1), mule(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026