Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ctags(UCB) — UNIX 2BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

CTAGS(UCB)  —  UNIX Programmer’s Manual

NAME

ctags − compute a tags file for a C program

SYNOPSIS

ctags name ... 

DESCRIPTION

Ctags makes a tags file for ex(UCB) from the specified C programs. A tags file gives the locations of specified objects (in this case functions) in a group of files. Each line of the tags file contains the function name, the file in which it is defined, and a scanning pattern used to find the function definition.  These are given in separate fields on the line, separated by blanks or tabs.

FILES

tagsoutput tags file

SEE ALSO

astags(UCB), ex(UCB), vi(UCB)

BUGS

This tags program is a primitive shell script, and requires functions to be recognizable by their starting in the first column of input lines on lines ending with a ‘)’. 

No way to use it to incrementally update a tags file.  In a makefile, we could move the tags file away and then use sort and uniq to get around this. 

For tags to be more useful, a good ctags program is needed which references external and macro definitions in header files as well as being less sensitive to formatting. 

7th Edition  —  2/24/79

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