AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
NL(l) NL(l) -ssep Sep is the character(s) used in separating the line number and the corresponding text line. Default sep is a tab. -wwidth Width is the number of characters to be used for the line number. Default width is 6. -nformat Format is the line numbering format. Recognized � -lnum -dxx values are: In, left justified, leading zeroes suppressed; rn, right justified, leading zeroes suppressed; rz, right justified, leading zeroes kept. Default format is rn (right justified). Num is the number of blank lines to be considered as one. For example, -12 results in only the second adjacent blank being numbered (if the appropriate -ha , -ba, and/or -fa option is set). Default is 1. The delimiter characters specifying the start of a logical page section may be changed from the default characters (\:) to two user specified characters. If only one character is entered, the second character remains the default character (:). No space should appear between the -d and the delimiter characters. To enter a backslash, use two backslashes. EXAMPLE The command: nl -v10 -i10 -d!+ file1 file2 will number files 1 and 2 starting at line number 10 with an increment of ten. The logical page delimiters are !+. SEE ALSO pr(1). - 2-
NM (l) NM (l) NAME nm - print name list of common object file SYNOPSIS nm [-o] [-x] [-h] [-v] [-n] [-e] [-f] [-u] [-V] [-T] file-names DESCRIPTION The nm command displays the symbol table of each common object file file-name. File-name may be a relocatable or absolute common object file; or it may be an archive of relocatable or absolute common object files. For each symbol, the following information will be printed: N arne The name of the symbol. Value Its value expressed as an offset or an address depending on its storage class. Class Its storage class. Type Its type and derived type. If the symbol is an instance of a structure or of a union then the structure or union tag will be given following the type (e.g. struct-tag). If the symbol is an array, then the array dimensions will be given following the type (eg., char[n] [m]). Note that the object file must have been compiled with the -g option of the cc(l) command for this information to appear. Size Its size in bytes, if available. Note that the object file must have been compiled with the -g option of the cc(l) command for this information to appear. Line The source line number at which it is defined, if available. Note that the object file must have been compiled with the -g option of the cc(l) command for this information to appear. Section For storage classes static and external, the object file section containing the symbol (e.g., text, data or bss). The output of nm may be controlled using the following options: -o Print the value and size of a symbol in octal instead of decimal. Print the value and size of a symbol in hexadecimal instead of decimal. -h Do not display the output header data. -v Sort external symbols by value before they are printed. -n Sort external symbols by name before they are printed. -e Print only external and static symbols. -f Produce full output. Print redundant symbols (.text, .data and .bss), normally suppressed. -u Print undefined symbols only. -x - 1 -
- Page 403: LOGNAME ( l ) LOGNAME ( l ) NAME lo
- Page 406 and 407: I� �- '--- . ·
- Page 408 and 409: LP (l) LP (l) -ooption Specify prin
- Page 410 and 411: LPSTAT (l) LPSTAT (l) SEE ALSO enab
- Page 412 and 413: LS (l) LS (l) -f Force each argumen
- Page 415 and 416: M4 ( 1 ) M4 ( 1) NAME m4 - macro pr
- Page 417 and 418: M4 (1) undivert divnum dnl if else
- Page 419 and 420: MAIL ( 1) MAIL (l) NAME mail, rmail
- Page 421 and 422: MAKE(l) MAKE(l) NAME make - maintai
- Page 423 and 424: MAKE ( I) MAKE (l) MAKEFLAGS macro
- Page 425 and 426: MAKE(l) MAKE (I) .C .C - .Sh .sh- .
- Page 427 and 428: MAKE (l) MAKE (l) In the above exam
- Page 429 and 430: MAKEKEY (l) (Domestic Version Only
- Page 431 and 432: MESG ( 1) MESG ( 1) NAME mesg - per
- Page 433 and 434: MESSAGE( ! ) ( AT&T UNIX PC only )
- Page 435: MKDIR (l) MKDIR (l) NAME mkdir - ma
- Page 438 and 439: MM (l) HINTS MM (l) Mm reads the st
- Page 440 and 441: i�
- Page 442 and 443: MORE(l) MORE (l) stand-out mode, mo
- Page 444 and 445: MORE( I) MORE(l) The terminal is se
- Page 446 and 447: NEWFORM ( l ) -ck -pn -an NEWFORM (
- Page 449: NEWGRP ( I ) NEWGRP ( I ) NAME newg
- Page 452 and 453: � ', y n \,..._ --
- Page 456 and 457: NM (l) FILES NM ( l ) -V Print the
- Page 459 and 460: NROFF(l) NROFF(l) NAME nroff - form
- Page 461 and 462: OD (1) OD (1) NAME od - octal dump
- Page 463 and 464: PACK ( 1) PACK( l ) NAME pack, peat
- Page 465: PASSWD ( l ) PASSWD ( l ) NAME pass
- Page 468 and 469: PASTE (l) PASTE (l) pr(l): pr -t -
- Page 471 and 472: PR (l) PR (l) NAME pr - print files
- Page 473 and 474: PROF ( 1) PROF ( 1) NAME prof - dis
- Page 475 and 476: PRS ( l ) PRS ( l ) NAME prs - prin
- Page 477 and 478: PRS ( 1 ) PRS ( 1 ) TABLE 1 (Contin
- Page 479 and 480: PS ( l ) PS ( l ) NAME ps - report
- Page 481: PS (l) PS (l) WCHAN (1) The event f
- Page 484 and 485: PTX ( 1) PTX ( 1) SEE ALSO nroff( l
- Page 487 and 488: REGCMP ( 1 ) REGCMP (l) NAME regcmp
- Page 489: RM ( l ) RM (l) NAME rm, rmdir - re
- Page 492 and 493: I�
- Page 495: SCCSDIFF ( 1 ) SCCSDIFF ( 1 ) NAME
- Page 499 and 500: SDB ( l ) SDB ( 1) NAME sdb - symbo
- Page 501 and 502: � I SDB ( 1) SDB ( 1) file may ov
- Page 503 and 504: SDB ( 1) SDB ( 1) e directory file-
NM (l) NM (l)<br />
NAME<br />
nm - print name list of common object file<br />
SYNOPSIS<br />
nm [-o] [-x] [-h] [-v] [-n] [-e] [-f] [-u] [-V]<br />
[-T] file-names<br />
DESCRIPTION<br />
The nm command displays the symbol table of each common<br />
object file file-name. File-name may be a relocatable or absolute<br />
common object file; or it may be an archive of relocatable or absolute<br />
common object files. For each symbol, the following information<br />
will be printed:<br />
N arne The name of the symbol.<br />
Value Its value expressed as an offset or an address depending<br />
on its storage class.<br />
Class Its storage class.<br />
Type Its type and derived type. If the symbol is an instance<br />
of a structure or of a union then the structure or union<br />
tag will be given following the type (e.g. struct-tag). If<br />
the symbol is an array, then the array dimensions will<br />
be given following the type (eg., char[n] [m]). Note that<br />
the object file must have been compiled with the -g<br />
option of the cc(l) command for this information to<br />
appear.<br />
Size Its size in bytes, if available. Note that the object file<br />
must have been compiled with the -g option of the<br />
cc(l) command for this information to appear.<br />
Line The source line number at which it is defined, if available.<br />
Note that the object file must have been compiled<br />
with the -g option of the cc(l) command for this information<br />
to appear.<br />
Section For storage classes static and external, the object file<br />
section containing the symbol (e.g., text, data or bss).<br />
The output of nm may be controlled using the following options:<br />
-o Print the value and size of a symbol in octal instead of<br />
decimal.<br />
Print the value and size of a symbol in hexadecimal<br />
instead of decimal.<br />
-h Do not display the output header data.<br />
-v Sort external symbols by value before they are printed.<br />
-n Sort external symbols by name before they are printed.<br />
-e Print only external and static symbols.<br />
-f Produce full output. Print redundant symbols (.text,<br />
.data and .bss), normally suppressed.<br />
-u Print undefined symbols only.<br />
-x<br />
- 1 -