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