.TH ANM 1 2017-01-18
.SH NAME
anm  \-  print name list
.SH SYNOPSIS
anm [ \-gnoprus ] [ file ... ]
.SH DESCRIPTION
.I Anm
prints the name list (symbol table) of each ack.out(5) format object
.I file
in the argument list.
If an argument is an aal(1) or arch(1) archive,
a listing of each object file in the archive will be produced.
If no
.I file
is given, the symbols in
`a.out'
are listed.
.PP
Each symbol name is preceded by its value, a section indicator
and a type indicator.
A section indicator can be
.SB U
(undefined symbol),
.SB A
(absolute symbol),
.SB C
(common symbol), a section number (section related symbol),
or
.SB \-
(other symbol).
A type indicator can be
.SB F
(filename),
.SB M
(module name),
.SB E
(external (global) symbol),
or
.SB \-
(local symbol).
The output is sorted alphabetically.
.PP
Options are:
.TP
.B  \-g
Print only external (global) symbols.
.TP
.B \-n
Sort numerically rather than alphabetically.
.TP
.B  \-o
Prepend file name to each output line rather than only once.
.TP
.B  \-p
Don't sort; print in symbol-table order.
.TP
.B  \-r
Sort in reverse order.
.TP
.B  \-u
Print only undefined symbols.
.TP
.B  \-s
Sort in section order.
.SH SEE ALSO
ack.out(5)