Strip

Section: Misc. Reference Manual Pages (V37)
Updated: August 28, 1994
Index Return to Main Contents
 

FORMAT

STRIP [FILE] file [[TO] name] [QUIET] [KEEP]  

TEMPLATE

FILE/A,TO,QUIET/S,KEEP/S  

PURPOSE

To strip symbol and debug hunks from load files.  

SPECIFICATION

Strip removes all symbol and debug hunks from binary load files, i.e., executables. These hunks supplies information used by, for example, symbolic debuggers, but they are not loaded by the AmigaDOS loader. The size of a load file can often be reduced dramatically by removing them.

Strip accepts the following arguments:

FILE
The load file to be stripped.
TO
The stripped version of the load file. If the TO option isn't used, Strip will replace the original file with the stripped output. If a directory is given as the TO argument, the stripped output will be written to that directory with the same name as the original file.
QUIET
tells Strip to keep its mouth shut unless something goes awry.
KEEP
tells Strip to keep the original unstripped version with a .orig extension. This will only happen if no destination name was given and the file was changed.

The stripped output is given the same protection flags and comment, if applicable, as the original file, except that the archived flag is cleared.

Any hardlinks to the original file will be broken if the original file is replaced.

The current version of Strip refuses to strip overlaid load files.  

AUTHOR

Torsten Poulin (torsten@diku.dk)  

UNRESTRICTIONS

Strip is free; anyone may redistribute copies of Strip to anyone under the terms stated in the GNU General Public Licence, a copy of which accompanies each copy of Strip.


 

Index

FORMAT
TEMPLATE
PURPOSE
SPECIFICATION
AUTHOR
UNRESTRICTIONS

This document was created by man2html, using the manual pages.
Time: 20:49:53 GMT, March 01, 2023