home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
batch
/
sputils.zip
/
STRIPCOL.DOC
< prev
next >
Wrap
Text File
|
1991-01-06
|
2KB
|
50 lines
Strip Columns version 1.1 (C) SPETER SOFTWARE, January 1991.
This program will strip the specified column range from the given input file
and write the result to the given output file.
The program was written in Borland's Turbo Pascal 5.5
Usage:
------
1: STRIPCOL [/h]
Output a help screen.
/h (optional)
2: STRIPCOL start-col end-col in-file out-file
Read the contents of the input file "in-file", delete any characters
in the specified column range, and then write the result to the output
file.
start-col a number between 1 and 254 and less than "end-col";
end-col a number between 2 and 255 and more than "start-col";
in-file must be an existing file (name can include a path);
lines in the input file (in-file) must be less than
256 characters long
out-file must be an valid DOS file-name (can include a path).
Example:
---------
stripstr 10 20 infile outfile
Deletes from every line of "infile", every character from the 10th, up to and
including the 20th (or the end of line if there are less than 20 characters on
the line), and writes the result in "outfile".
Correspondence:
---------------
Please address any comments to:
Stephen Peter
INTERNET:
steve@cad0.arch.unsw.oz.au
POST:
SPETER SOFTWARE
P.O. BOX 643
LANE COVE
NSW 2066
AUSTRALIA