minix man page for mref

Query: mref

OS: minix

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MREF(1) 						      General Commands Manual							   MREF(1)

NAME
mref - make listing and cross reference map of MINIX
SYNOPSIS
mref [-dlmstx] [-p n] [-n] file ...
OPTIONS
-d Do not produce definition file (global symbol table) -l Do not produce listing -m Multiple references on one line are cited only once -p Set initial page number to n -s Suppress line numbering between procedures -t Generate output for troff -x Do not produce the cross reference map -n Number of lines to print per page, default = 50
EXAMPLES
mref *.[hc] # List and cross reference files .h and .c mref -60 -t *.c # Produce troff input at 60 lines/page mref -dx -p 100 *.c # Listing only, first page is numbered 100
DESCRIPTION
In default mode, mref produces three output files: a numbered listing of the input files (on standard output), a global symbol table (on symbol.out), and a cross reference map to the global symbols (on xref.out). A global symbol in this context is one present in a #define, PUBLIC, PRIVATE, or SYMBOL statement (the latter being introduced to allow users to explicitly declare certain symbols as global). Any of the three outputs can be suppressed, or alternatively, be made suitable for input to troff for typesetting. MREF(1)
Related Man Pages
nm(1) - plan9
nm(1) - bsd
cxref-query(1) - debian
mmroff(1) - centos
nmedit(1) - opendarwin
Similar Topics in the Unix Linux Community
counting the number of lines
splitting file
How to make all lines into 1 line?
Append a sentence in each file.
ls and file count