5 \fBnm\fR [\fB\-dgnopru\fR]\fR [\fIfile\fR] ...\fR
18 .FL "\-d" "Print the offsets in decimal instead of in hex"
19 .FL "\-g" "Print only external symbols"
20 .FL "\-n" "Sort numerically rather than alphabetically"
21 .FL "\-o" "Prepend file name to each line rather than only once"
22 .FL "\-p" "Do not sort, print in symbol-table order"
23 .FL "\-r" "Sort in reverse order"
24 .FL "\-u" "Print only undefined symbols"
26 .EX "nm \-n a.out" "Print all symbols in numerical order"
27 .EX "nm \-dg a.out" "Print globals alphabetically in decimal"
30 \fINm\fR prints the symbol table of executable files when it is available.
31 If no file is given, the symbols in \fIa.out\fR are used.
32 The format of the table
33 is somewhat compatible with the one produced by \fIasld\fR when used with
34 the \fB\-s\fR option. The symbol table can be added with \fIast\fR.
35 Assembly language files do not have symbol tables.