Print this page
4023 - Typo in file(1) manpage and various others

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/nm.1
          +++ new/usr/src/man/man1/nm.1
↓ open down ↓ 1 lines elided ↑ open up ↑
   2    2  .\" Copyright 1989 AT&T
   3    3  .\" Copyright (c) 2007, Sun Microsystems, Inc.  All Rights Reserved
   4    4  .\" Portions Copyright (c) 1992, X/Open Company Limited  All Rights Reserved
   5    5  .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
   6    6  .\" http://www.opengroup.org/bookstore/.
   7    7  .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   8    8  .\"  This notice shall appear on any product containing this material.
   9    9  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
  10   10  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
  11   11  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  12      -.TH NM 1 "Oct 10, 2007"
       12 +.TH NM 1 "Sep 10, 2013"
  13   13  .SH NAME
  14   14  nm \- print name list of an object file
  15   15  .SH SYNOPSIS
  16   16  .LP
  17   17  .nf
  18   18  \fB/usr/bin/nm\fR [\fB-ACDhlnPprRsTuVv\fR] [\fB-efox\fR] [\fB-g\fR | \fB-u\fR]
  19   19       [\fB-t\fR \fIformat\fR] \fIfile\fR...
  20   20  .fi
  21   21  
  22   22  .LP
↓ open down ↓ 661 lines elided ↑ open up ↑
 684  684  .sp
 685  685  .LP
 686  686  If the \fB-P\fR option is specified, the previous information is displayed
 687  687  using the following portable format. The three versions differ depending on
 688  688  whether \fB-t\fR \fBd\fR, \fB-t\fR \fBo\fR, or \fB-t\fR \fBx\fR was specified,
 689  689  respectively:
 690  690  .sp
 691  691  .in +2
 692  692  .nf
 693  693  \fB"%s%s %s %d %d\n",\fR \fIlibrary/object name\fR, \fIname\fR\fB, type,\fR \fIvalue\fR, \e
 694      -     \fBsize "%s%s %s %o %o\n",\fR \fIlibrary/object name\fR, \fIname\fR, \e
 695      -     \fBtype,\fR \fIvalue\fR \fB, size "%s%s %s %x %x\n",\fR \fIlibrary/object name\fR, \fIname\fR, \e
      694 +     \fBsize "%s%s %s %o %o\en",\fR \fIlibrary/object name\fR, \fIname\fR, \e
      695 +     \fBtype,\fR \fIvalue\fR \fB, size "%s%s %s %x %x\en",\fR \fIlibrary/object name\fR, \fIname\fR, \e
 696  696       \fBtype,\fR \fIvalue\fR\fB, size\fR
 697  697  .fi
 698  698  .in -2
 699  699  .sp
 700  700  
 701  701  .sp
 702  702  .LP
 703  703  where \fIlibrary/object name\fR is formatted as follows:
 704  704  .RS +4
 705  705  .TP
↓ open down ↓ 39 lines elided ↑ open up ↑
 745  745  library, \fBnm\fR writes a line identifying the object containing the following
 746  746  symbols before the lines containing those symbols, in the form:
 747  747  .RS +4
 748  748  .TP
 749  749  .ie t \(bu
 750  750  .el o
 751  751  If the corresponding \fIfile\fR operand does not name a library:
 752  752  .sp
 753  753  .in +2
 754  754  .nf
 755      -\fB"%s:\n", \fIfile\fR\fR
      755 +\fB"%s:\en", \fIfile\fR\fR
 756  756  .fi
 757  757  .in -2
 758  758  .sp
 759  759  
 760  760  .RE
 761  761  .RS +4
 762  762  .TP
 763  763  .ie t \(bu
 764  764  .el o
 765  765  If the corresponding \fIfile\fR operand names a library; in this case,
 766  766  \fIobject file\fR is the name of the file in the library containing the
 767  767  following symbols:
 768  768  .sp
 769  769  .in +2
 770  770  .nf
 771      -\fB"%s[%s]:\n", \fIfile\fR, \fIobject file\fR\fR
      771 +\fB"%s[%s]:\en", \fIfile\fR, \fIobject file\fR\fR
 772  772  .fi
 773  773  .in -2
 774  774  .sp
 775  775  
 776  776  .RE
 777  777  .sp
 778  778  .LP
 779  779  If \fB-P\fR is specified, but \fB-t\fR is not, the format is as if \fB-t\fR
 780  780  \fBx\fR had been specified.
 781  781  .SH ENVIRONMENT VARIABLES
↓ open down ↓ 89 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX