1BSD/man6/strip.6

Compare this file to the similar file:
Show the results in this format:

.th STRIP VI 8/24/77
.sh NAME
strip \- strip object file
.sh SYNOPSIS
.bd strip
[
.bd \-t
] [
name ...
]
.sh DESCRIPTION
.it Strip
removes the symbol table and relocation bits ordinarily attached
to the output of the assembler and loader.
This is useful
to save space after a program has been debugged.
.s3
The effect of
.it strip
is the the same as use of the
.bd \*-s
option
of
.it ld.
.s3
The
.bd \-t
option of
.it strip
can be used to remove text and data segments leaving only the symbol table.
This can be used when an executable program is not needed, i.e.
for the system namelist.
.sh FILES
/tmp/stm?	temporary file
.sh "SEE ALSO"
ld (I), as (I)
.sh BUGS