projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
symbolic links take on user ownership of their containing directory
[unix-history]
/
usr
/
src
/
usr.bin
/
strip
/
strip.1
diff --git
a/usr/src/usr.bin/strip/strip.1
b/usr/src/usr.bin/strip/strip.1
index
b37a901
..
4c3f409
100644
(file)
--- a/
usr/src/usr.bin/strip/strip.1
+++ b/
usr/src/usr.bin/strip/strip.1
@@
-1,19
+1,20
@@
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
-.\" %sccs.include.redist.
man
%
+.\" %sccs.include.redist.
roff
%
.\"
.\"
-.\" @(#)strip.1 6.
4
(Berkeley) %G%
+.\" @(#)strip.1 6.
6
(Berkeley) %G%
.\"
.Dd
.Dt STRIP 1
.\"
.Dd
.Dt STRIP 1
-.Os
BSD 4.4
+.Os
.Sh NAME
.Nm strip
.Nd remove unnecessary information from executable files
.Sh SYNOPSIS
.Nm strip
.Sh NAME
.Nm strip
.Nd remove unnecessary information from executable files
.Sh SYNOPSIS
.Nm strip
-.Ar
+.Op Fl d
+.Ar file ...
.Sh DESCRIPTION
The
.Nm strip
.Sh DESCRIPTION
The
.Nm strip
@@
-23,14
+24,18
@@
assemblers, loaders and debuggers.
This significantly
decreases the size of the installed binaries and saves disk space.
.Pp
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
.Nm Strip
-exits 0 on success (or if the file had already been stripped), 1 if
-an error occurred.
+exits 0 on success and 1 if an error occurred.
.Sh SEE ALSO
.Sh SEE ALSO
-.Xr as 1 ,
.Xr cc 1 ,
.Xr cc 1 ,
-.Xr
install
1 ,
-.Xr
ld 1
+.Xr
ld
1 ,
+.Xr
stab 5
.Sh HISTORY
A
.Nm
.Sh HISTORY
A
.Nm