symbolic links take on user ownership of their containing directory
[unix-history] / usr / src / usr.bin / strip / strip.1
index f42fd5f..4c3f409 100644 (file)
@@ -1,33 +1,43 @@
-.\" Copyright (c) 1989 The Regents of the University of California.
+.\" Copyright (c) 1989, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" All rights reserved.
 .\"
-.\" Redistribution and use in source and binary forms are permitted
-.\" provided that the above copyright notice and this paragraph are
-.\" duplicated in all such forms and that any documentation,
-.\" advertising materials, and other materials related to such
-.\" distribution and use acknowledge that the software was developed
-.\" by the University of California, Berkeley.  The name of the
-.\" University may not be used to endorse or promote products derived
-.\" from this software without specific prior written permission.
-.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\" %sccs.include.redist.roff%
 .\"
 .\"
-.\"    @(#)strip.1     6.2 (Berkeley) %G%
+.\"     @(#)strip.1    6.6 (Berkeley) %G%
 .\"
 .\"
-.TH STRIP 1 ""
-.AT 3
-.SH NAME
-strip \- remove unnecessary information from executable files
-.SH SYNOPSIS
-.ft B
-strip file ...
-.ft R
-.SH DESCRIPTION
-.I Strip
-removes the relocation information and symbol table used by
-assemblers and loaders.
-This save disk space by decreasing the size of the installed binaries.
-It also significantly decreases the usefulness of debuggers.
-.SH "SEE ALSO"
-as(1), cc(1), install(1), ld(1)
+.Dd 
+.Dt STRIP 1
+.Os
+.Sh NAME
+.Nm strip
+.Nd remove unnecessary information from executable files
+.Sh SYNOPSIS
+.Nm strip
+.Op Fl d
+.Ar file ...
+.Sh DESCRIPTION
+The
+.Nm strip
+utility
+deletes the relocation information and symbol table used by
+assemblers, loaders and debuggers.
+This significantly
+decreases the size of the installed binaries and saves disk space.
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl d
+Delete only debugging and empty symbols.
+.El
+.Pp
+.Nm Strip
+exits 0 on success and 1 if an error occurred.
+.Sh SEE ALSO
+.Xr cc 1 ,
+.Xr ld 1 ,
+.Xr stab 5
+.Sh HISTORY
+A
+.Nm
+command appeared in
+.At v6 .