summaryrefslogtreecommitdiff
path: root/sys/man/1/strip
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:49:47 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:49:47 +0300
commitb41b9034225ab3e49980d9de55c141011b6383b0 (patch)
tree891014b4c2e803e01ac7a1fd2b60819fbc5a6e73 /sys/man/1/strip
parentc558a99e0be506a9abdf677f0ca4490644e05fc1 (diff)
Import sources from 2011-03-30 iso image - sys/man
Diffstat (limited to 'sys/man/1/strip')
-rwxr-xr-xsys/man/1/strip31
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/man/1/strip b/sys/man/1/strip
new file mode 100755
index 000000000..20de5f2da
--- /dev/null
+++ b/sys/man/1/strip
@@ -0,0 +1,31 @@
+.TH STRIP 1
+.SH NAME
+strip \- remove symbols from binary files
+.SH SYNOPSIS
+.B strip
+.I file ...
+.PP
+.B strip
+.B -o
+.I ofile
+.I file
+.SH DESCRIPTION
+.I Strip
+removes symbol table segments from executable files,
+rewriting the files in place.
+Stripping a file requires write permission of the file
+and the directory it is in.
+.PP
+If the
+.B -o
+flag is given,
+the single input file
+.I file
+is stripped and the result written to
+.IR ofile .
+.I File
+is unchanged.
+.SH SOURCE
+.B /sys/src/cmd/strip.c
+.SH "SEE ALSO"
+.IR a.out (6)