Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lxref(1) [bsd man page]

LXREF(1)						      General Commands Manual							  LXREF(1)

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 `'" 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)

       cxref - generate C program cross reference

       cxref [options] files

       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.

       -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.

       Error messages usually indicate a problem that will prevent the file from compiling.

       /usr/lib/xcpp	special version of C-preprocessor.

See Also

Man Page

11 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Cross Posting

In regards to this post: it may be advisable to inform new members about the repercussions of cross-posting. (9 Replies)
Discussion started by: Karma
9 Replies

2. UNIX for Dummies Questions & Answers

Meaning of ; in UNIX file?

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)
Discussion started by: willdaw3
1 Replies

3. Linux

counting the number of lines

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)
Discussion started by: nayeemmz
6 Replies

4. Shell Programming and Scripting

Unix Script with line number at beginning of each line.

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)
Discussion started by: mascorro
5 Replies

5. UNIX for Dummies Questions & Answers

equation calculation on Unix

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)
Discussion started by: robbinGlasses
4 Replies

6. UNIX for Dummies Questions & Answers

How to make all lines into 1 line?

I have a file listing IP addresses, 1 per line, such as: I want all of the entries to be on the same line, and quoted, such as: "" "" "" "" I got the quotes on there in vi with ":%s/^/"/g" and "%s/$/"/g" ... is there... (8 Replies)
Discussion started by: earnstaf
8 Replies

7. Shell Programming and Scripting

AWK Help needed - Production Issue

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)
Discussion started by: diksha2207
9 Replies

8. UNIX for Dummies Questions & Answers

Appending at the beginning of the file.

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)
Discussion started by: siba.s.nayak
1 Replies

9. UNIX for Dummies Questions & Answers

Really simple cross-platform database?

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

I want to consult about 4th of Forum Rules

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)
Discussion started by: weichanghe2000
3 Replies

11. Shell Programming and Scripting

Matrix (Cross word) with Names

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)
Discussion started by: seanarcher7
5 Replies

Featured Tech Videos