xref: /original-bsd/usr.bin/strip/strip.1 (revision 53fb7652)
1.\" Copyright (c) 1989, 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)strip.1	6.4 (Berkeley) 04/22/91
7.\"
8.Dd
9.Dt STRIP 1
10.Os BSD 4.4
11.Sh NAME
12.Nm strip
13.Nd remove unnecessary information from executable files
14.Sh SYNOPSIS
15.Nm strip
16.Ar
17.Sh DESCRIPTION
18The
19.Nm strip
20utility
21deletes the relocation information and symbol table used by
22assemblers, loaders and debuggers.
23This significantly
24decreases the size of the installed binaries and saves disk space.
25.Pp
26.Nm Strip
27exits 0 on success (or if the file had already been stripped), 1 if
28an error occurred.
29.Sh SEE ALSO
30.Xr as 1 ,
31.Xr cc 1 ,
32.Xr install 1 ,
33.Xr ld 1
34.Sh HISTORY
35A
36.Nm
37command appeared in
38.At v6 .
39