mktags(1)

NAME
mktags - Create a tag file

SYNOPSIS
mktags [-v] file[...]

OPTIONS

-v  If the -v option is present, mktags prints its version number and date and exits.

DESCRIPTION
mktags creates a tag file called Tags file suitable for used by Tag(1). Each line in the tags file is a tag entry consisting of a name, then a space, then a wily(1) address.

mktags recognizes certain C constructions by matching extended regular expressions. In the following, \t represents the tab character and parentheses enclose the name

Function definitions
    ^([a-zA-Z_][a-zA-Z_0-9]*)\(

Function-like macro definitions
    ^#[ \t]*define[ \t][ \t]*([a-zA-Z_][a-zA-Z_0-9]*)\(

RETURNS
mktags returns zero if it executes successfully, otherwise it returns non-zero.

EXAMPLES
Make tags from all of the C source files in the current directory mktags *.c *.h

FILES
Tags

SEE ALSO
wily(1) Tag(1)

AUTHOR
Alan Watson (alan@oldp.nmsu.edu)