4.3BSD beta release manual page
[unix-history] / usr / src / usr.bin / ctags / ctags.1
index fb62dd9..53da30c 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)ctags.1     5.1 (Berkeley) %G%
+.\"    @(#)ctags.1     6.1 (Berkeley) %G%
 .\"
 .\"
-.TH CTAGS 1 "25 August 1982"
+.TH CTAGS 1 ""
 .UC 4
 .SH NAME
 ctags \- create a tags file
 .UC 4
 .SH NAME
 ctags \- create a tags file
@@ -18,7 +18,7 @@ name ...
 .I Ctags
 makes a tags file for
 .IR ex (1)
 .I Ctags
 makes a tags file for
 .IR ex (1)
-from the specified C, Pascal and Fortran sources.
+from the specified C, Pascal, Fortran, YACC, lex, and lisp sources.
 A tags file gives the locations of specified objects (in this case
 functions and typedefs) in a group of files.  Each line of the tags
 file contains the object name, the file in which it is defined, and
 A tags file gives the locations of specified objects (in this case
 functions and typedefs) in a group of files.  Each line of the tags
 file contains the object name, the file in which it is defined, and
@@ -58,13 +58,21 @@ Sample use:
        vgrind \-x index
 .fi
 .PP
        vgrind \-x index
 .fi
 .PP
-Files whose name ends in 
+Files whose names end in 
 .B \.c
 or
 .B \.h
 are assumed to be C source files and are searched for C routine and
 macro definitions.
 .B \.c
 or
 .B \.h
 are assumed to be C source files and are searched for C routine and
 macro definitions.
-Others are first examined to see if they contain any Pascal or
+Files whose names end in
+.B \.y
+are assumed to be YACC source files.
+Files whose names end in
+.B \.l
+are assumed to be either lisp files
+if their first non-blank character is `;', `(', or `[',
+or lex files otherwise.
+Other files are first examined to see if they contain any Pascal or
 Fortran routine definitions; if not, they are processed again
 looking for C definitions.
 .PP
 Fortran routine definitions; if not, they are processed again
 looking for C definitions.
 .PP
@@ -131,3 +139,4 @@ Does not know about #ifdefs.
 Should know about Pascal types.
 Relies on the input being well formed to detect typedefs.
 Use of -tx shows only the last line of typedefs.
 Should know about Pascal types.
 Relies on the input being well formed to detect typedefs.
 Use of -tx shows only the last line of typedefs.
+