LXREF(1) General Commands Manual LXREF(1)NAME
lxref - lisp cross reference program
SYNOPSIS
lxref [ -N ] xref-file ... [ -a source-file ... ]
DESCRIPTION
Lxref reads cross reference file(s) written by the lisp compiler liszt and prints a cross reference listing on the standard output. Liszt
will create a cross reference file during compilation when it is given the -x switch. Cross reference files usually end in `.x' and conse-
quently lxref will append a `.x' to the file names given if necessary. The first option to lxref is a decimal integer, N, which sets the
ignorelevel. If a function is called more than ignorelevel times, the cross reference listing will just print the number of calls instead
of listing each one of them. The default for ignorelevel is 50.
The -a option causes lxref to put limited cross reference information in the sources named. lxref will scan the source and when it comes
across a definition of a function (that is a line beginning with `(def' it will preceed that line with a list of the functions which call
this function, written as a comment preceeded by `;.. ' . All existing lines beginning with `;.. ' will be removed from the file. If the
source file contains a line beginning `;.-' then this will disable this annotation process from this point on until a `;.+' is seen (how-
ever, lines beginning with `;.. ' will continue to be deleted). After the annoation is done, the original file `foo.l' is renamed to
`#.foo.l'" and the new file with annotation is named `foo.l'
AUTHOR
John Foderaro
SEE ALSO lisp(1), liszt(1)BUGS 4th Berkeley Distribution April 29, 1985 LXREF(1)
Check Out this Related Man Page
cxref(1) General Commands Manual cxref(1)Name
cxref - generate C program cross reference
Syntax
cxref [options] files
Description
The command analyzes a collection of C files and attempts to build a cross reference table. The command utilizes a special version of to
include #define'd information in its symbol table. It produces a listing on standard output of all symbols (auto, static, and global) in
each file separately, or with the -c option, in combination. Each symbol contains an asterisk (*) before the declaring reference.
Options-c Prints a combined cross-reference of all input files.
-Dname Defines name to processor, as if by #define. Default value is 1.
-Idir Searches named directory for files whose names do not begin with a backslash (/).
-o file Directs output to named file.
-s Operates silently; does not print input file names.
-t Formats listing for 80-column width.
-Uname Removes any initial definition of name.
-w<num> Width option which formats output no wider than <num> (decimal) columns. This option will default to 80 if <num> is not speci-
fied or is less than 51.
Diagnostics
Error messages usually indicate a problem that will prevent the file from compiling.
Files
/usr/lib/xcpp special version of C-preprocessor.
See Alsocc(1).
cxref(1)
Man Page
11 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
In regards to this post:
https://www.unix.com/showthread.php?s=&threadid=10372
it may be advisable to inform new members about the repercussions of cross-posting. (9 Replies)
Hello.
I'm looking at a file that has a ; at the beginning of certain lines. Could someone please tell me what that means? Is it a comment? Is it an execute?
Thank You (1 Reply)
Hello,
I have afile which begins with a few urls on multiple lines and then there is listing of some information on separate lines.
The listing begins with the word Name on a given line followed by teh actual list.
I want to count the number of lines in this file after the line having... (6 Replies)
Could anybody help me.
I need to create a script that reads a text file from STDIN and prints out the file to STDOUT with line numbers at the beginning of each line.
Thanks. (5 Replies)
Hay, guys,
Any ideas how to calculate like this:
in first file, there're number of lines listing 2+3, 6*9 .......
Then, how to get the result and put them in another file in format:
2+3 5
6*9 54
......
sheerly by shell command, no scripts required. (4 Replies)
I have a file listing IP addresses, 1 per line, such as:
1.2.3.4
3.4.5.6
12.13.14.15
7.8.9.6
I want all of the entries to be on the same line, and quoted, such as:
"1.2.3.4" "3.4.5.6" "12.13.14.15" "7.8.9.6"
I got the quotes on there in vi with ":%s/^/"/g" and "%s/$/"/g" ... is there... (8 Replies)
Hi
I have a cross reference file which contains 86000 records. The data is old number:new number. There are 100s of files where i need to search for old number and append corresponding new number (preceded by @) to the line containing old number. The files contain millions of records.... (9 Replies)
Hi,
I am using ">>" to append to the existing file but I appens to the end of the file but I want to add tne new things at the beginning. Do we have any functionality to do that?
Thanks,
Siba (1 Reply)
I'm looking for a really simple to use lightweight database. Ideally something open-source that stores data in a (semi-) human-readable format, in case the software isn't working.
Something cross-platform enough that I can use it on my Linux machine, my Mac, or stick it on a USB stick and... (2 Replies)
Discussion started by: emdan
2 Replies
10. Post Here to Contact Site Administrators and Moderators
Hi, Admin,
because my English is very poor, So I don't understand very well about 4th of Forum Rules, that is “Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post”.
My question is:
if I created a new thread, and some people reply... (3 Replies)
I've about 10 names say (John, Joseph, James, Peter, Allen, Diane, Patricia, Wendy, Marsha, Janice).
I want to create a crossword with these names. Rules are similar to a cross word puzzle, just that there is no puzzle. It's just a matrix with these names listed from "top to down" or "down to... (5 Replies)