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)
Check Out this Related Man Page
ANM(1) General Commands Manual ANM(1)NAME
anm - print name list
SYNOPSIS
anm [-gnoprus] file ...
OPTIONS -g Global symbols only
-n Sort numerically
-o Prepend the filename to each line
-p No sorting--use symbol table order
-r Sort in reverse order
-u List undefined symbols only
-s Sort in section order
EXAMPLES
anm -gn test.o # Print global symbols in numerical order
DESCRIPTION
Anm prints the name list (symbol table) of each ACK format object file in the argument list. If no file name is given, a.out is used.
Each symbol name is preceded by its value, a section indicator and a type indicator. The section indicators are:
U Undefined symbol
A Absolute symbol
- Other symbol
The type indicators are:
F Filename
M Module name
S Section name
E External (global) symbol
- Local symbol
The output is sorted alphabetically, unless otherwise specified. Notice that anm can only be used on ACK format object files (that is: .o
and .out files). If you want to get the name list of an executable program use nm instead.
SEE ALSO asize(1), nm(1), ar(1), size(1).
ANM(1)
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)
hi all,
I would like to know , if a file contains say 100 lines, and if i want to locate the 54th line and print the output , how to do it??
for eg , if a file details.txt which contains say 100 entries like
admin ....................
rajes ....................
test ..................... (7 Replies)
Dear All,
Here I need some help. I have a file which has 100 lines and I like to split that file into 5 files each containing 20 lines.
so the wc -l bigfile gives me 100 lines. How I will make 5 small files out of this each containing exactly 20 lines:
thanks. (3 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)
I am new to the world of UNIX scripting - and would like to make the following script:
I have 100 files numbered 1-100. However - i would like to continue the file list - so that I add another 100 files following on, so that file 101 = 99; file 102 = 98 ; 103 = 97 and so on....
(basically ...... (6 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)
In a directry there are 100 files are present....
How to append a statement like "Anup Das" in each of the file content, in the first line....
without opening the files.... (2 Replies)
Hello everyone,
I am investigating if there is a straight forward way to ask with a single line command a listing of particular files based on a mask and at the same time have a line after the listing is completed that says how many matches were found.
Something of the sort:
ls -ltr Done* ... (2 Replies)
In the following line The AWK statement parses through a listing for files and outputs the results using the {print} command to the screen. Is there a way to (a) send the output to a file and (b) actually perform a cp cmd to copy the listed files to another directory?
ls | awk -va=$a -vb=$b... (1 Reply)
Hi,
I have a very large file that contains a listing of all files on the system. I need to create a listing from that file of all files that start with the following format: s???_*, whereas the '?' represents characters, so the file name begins with an 's' followed by three other characters and... (4 Replies)
so, every 5 minutes, i monitor some data files based on their line numbers.
so if i checked now and there are 100 lines in the file, i will scan the 100 lines for specific errors.
if i check again 5 minutes later and there are 150 lines in the file, i will monitor the file from line 100 to... (2 Replies)
Greetings!
I have a quick question which must be deferred to those with greater skill than myself :)
In this situation, I wish to create a list of all the files on an entire partition in descending order sorted by date. I tried numerous switches for ls, and found this line to be the closest... (4 Replies)