BSD 2 release
[unix-history] / man / cxref.u
CommitLineData
1d69d2db
BJ
1.TH CXREF UCB 2/24/79 UCB
2.SH NAME
3cxref \- a simple C routine referencing program
4.SH SYNOPSIS
5.B cxref
6file ...
7.SH DESCRIPTION
8.I Cxref
9is a simple shell script which uses
10.IR grep (UCB)
11and
12.IR ex (UCB)
13and
14.IR sort (1)
15to make a listing of the routines in the specified C program
16files and the lines on which they are defined.
17It is useful as a summary when prowling in a large program,
18especially since
19.I cref
20has a habit of looping on large program input.
21.SH SEE\ ALSO
22cref(1)
23.SH AUTHOR
24William Joy
25.SH BUGS
26.I Cxref
27assumes that routines begin in the first column of lines,
28and that type names are given on different lines than the routine names.
29If you have a program which is in a different format than this,
30.I cxref
31will fail miserably.
32The operating system,
33C compiler,
34Pascal translator,
35.I ex
36editor,
37etc. all work with
38.I cxref.