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)
Check Out this Related Man Page
NM(1) General Commands Manual NM(1)NAME
nm - print name list (2BSD)
SYNOPSIS
nm [ -gnopru ] [ file ... ]
DESCRIPTION
Nm prints the name list (symbol table) of each object file in the argument list. If an argument is an archive, a listing for each object
file in the archive will be produced. If no file is given, the symbols in "a.out" are listed.
Each symbol name is preceded by its value (blanks if undefined) and one of the letters U (undefined), A (absolute), T (text segment sym-
bol), D (data segment symbol), B (bss segment symbol), C (common symbol), or f file name. If the symbol is local (non-external) the type
letter is in lower case. If the file is an overlaid executable, the overlay number is printed after the name. The number is printed if
the symbol is in an overlay or if it is the entry point (in the base segment) for a subroutine in an overlay. The output is sorted alpha-
betically.
Options are:
-g Print only global (external) symbols.
-n Sort numerically rather than alphabetically.
-o Prepend file or archive element name to each output line rather than only once.
-p Don't sort; print in symbol-table order.
-r Sort in reverse order.
-u Print only undefined symbols.
SEE ALSO ar(1), ar(5), a.out(5), stab(5)3rd Berkeley Distribution April 29, 1985 NM(1)
Very new user with a dumb question. While performing ls command I found some files in my directory that look like this:
#filename#
What does this mean. I cannot open with vi, cat, head, nor can I delete it with rm. Can someone educate me please, and how to fix?
THX
Dereck (8 Replies)
Hello all,
I have a test file that has the format:
.....
O
3.694950 -.895050 1.480000
O
5.485050 .895050 1.480000
Ti
-4.590000 4.590000 2.960000
Ti
-2.295000 ... (5 Replies)
Didn't have this problem in AIX, but ported to Linux with GCC compiler and am now getting a runtime error:
tssutil: symbol lookup error: /work/agility/devel/bin/libagam.so: undefined symbol: fstat
I'm sure most of you know that fstat is an intrinsic function just like printf, memcpy, etc. When I... (5 Replies)
hi guys i have 6000 rows column
the text in the column has the symbol vertical bar |.
i tried some of the commands to remove it but none of the commands are reconzng this symbol. would u plz help to remove this symbol from the text with any kind of unix command
u r help would be appreciated
... (9 Replies)
Hello Forum,
first thanks indvance.
I am trying to read a text file then write it to another file. I am getting these errors:
Global symbol "$line" requires explicit package name at ./trans_pak.pl line 29.
Global symbol "$line" requires explicit package name at ./trans_pak.pl line 31.... (7 Replies)
I have to write a script to determine whether given command line argument ($1) contains "*" symbol or not, if $1 does not contains "*" symbol add it to $1, otherwise show message "Symbol is not required". For e.g. If we called this script q5 then after giving ,
$ q5 /bin
Here $1 is /bin, it... (5 Replies)
Dear Experts
My source file contains the symbol cloud (☁).
How do i replace this ☁ symbol whose Unicode value is 2601 in linux file with single quotes ?
Any help will be much appreciated.
Many thanks (4 Replies)
Greetings - I'm not necessarily new to bash scripting - I'm probably between beginner and intermediate, but I have something that I just cannot figure out after many attempts to find it. I have a file that is merely a list of many files, with their respective paths, and a branch path (ClearCase)... (5 Replies)
hi,
In my input file i have less number of pipe symbol , it is suppose to be 10 pipe symbol. If the inputfile have less than 10 pipesymbol then i need append upto 10 pipe symbol.
please help to solve problem.
Input file :
abc|xyz|
1|2|3|4|5|
s|
1|2|||||||||
Output file :
... (4 Replies)
I have TXT files to process but they contain the degree symbols in them due to which the processing program fails on these files. I want a unix command that will remove the degree symbols from these files.
I tried using the sed command: sed 's///g' filename but it did not work. This issue... (14 Replies)
Hi, I am a newbie to shell programming and I need some help in sorting a list of files in ascending order of date in the filenames.
The file format is always : IGL01_AC_D_<YYYYMMDD>_N01_01
For example, in a directory MyDirectory I have the following files:
IGL01_AC_D_20110712_N01_01.dat... (11 Replies)
Hi,
I have to grep value from one file, if that value is already present with "#" symbol. I have to remove that symbol in that file.
Ex:
file1.txt contains the following string
#value=15
I have to search for "Value". If I found the string with hash symbol, nee to remove the # in... (6 Replies)
I am trying to replace '(' and ')' symbol with nul text using tr command. But i am not able to get the expected output . Please help
# cat test.txt
155170816-(75767Mb)
# tr '(' '' < test.txt
155170816-(75767Mb)
# tr ')' '' < test.txt
155170816-(75767Mb)
#
I want the o/p as
... (8 Replies)
Hi.
I'm trying to sort a list of items in a file alphabetically but starting from the letter 'X'. For instance if I had the following file;
test.txt
Z
A
T
W
Y
B
S
X
I would like the output to look like;
X
Y (8 Replies)
hi All,
i have googled and found that below are the functionality of carat symbol
Meaning of carat is
"at the beginning of line";
"it can also negate matches"
how do i know when carat is behaving as beginning of line or as a negate.
regards,
scriptor (6 Replies)