]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/strip
merge
[plan9front.git] / sys / man / 1 / strip
1 .TH STRIP 1
2 .SH NAME
3 strip \- remove symbols from binary files
4 .SH SYNOPSIS
5 .B strip
6 .I file ...
7 .PP
8 .B strip
9 .B -o
10 .I ofile
11 .I file
12 .SH DESCRIPTION
13 .I Strip
14 removes symbol table segments from executable files,
15 rewriting the files in place.
16 Stripping a file requires write permission of the file
17 and the directory it is in.
18 .PP
19 If the
20 .B -o
21 flag is given, 
22 the single input file
23 .I file
24 is stripped and the result written to
25 .IR ofile .
26 .I File
27 is unchanged.
28 .SH SOURCE
29 .B /sys/src/cmd/strip.c
30 .SH "SEE ALSO"
31 .IR a.out (6)