home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
XEROG10.ZIP
/
XEROG.DOC
< prev
next >
Wrap
Text File
|
1993-07-27
|
4KB
|
111 lines
XEROG.DOC - v1.0
(C)1993 Tolgathian Software
Hello!
There are only two reasons you are reading this document. One, you
needed XEROG for something and are reading the docs on how to use
it; Two, you are a software magpie and cannot resist collecting
yet another program that does you no good and absorbs disk space
like the Blob. If you are described by the second reason, you have
my sympathies as I too suffer this affliction to some degree.
If you are described by the first reason, here we go:
= Legalus Stayvus Offus ad Legalus Nauseum =
Tolgathian Software hereby places this program and it's related
documentation into the Public Domain as long as this document file
remains with it and both remain unaltered. It may be archived and
freely distributed across, through and in any medium. It may be
distributed by commercial operations as long as no charge is made
for the software - only a reasonable medium/processing charge may
apply. Tolgathian Software and anyone related to it (i.e.: it's
employees, members, and owners) provide this software as is, and
no garauntee is made for it's proper operation and fitness for any
purpose. The user understands and agrees that the user will not
hold Tolgathian Software, it's employees, members, or owners
responsible for any direct, incidental, related, consequential,
or otherwise remotely conceived damages as the result of it's use
or misuse.
Sorry to bore you with that stuff, but good heavens! People will
sue the Public Works Department if they fall and hurt themselves
while doing a handstand on a skateboard going downhill on a gravel
sidewalk backwards with no helmet at rush-hour blindfolded.
And some fool lawyer that should know better will help them do it!
(Doctor! It hurts when I do this!)
Ok -
XEROG will make a copy of all or part of a file. It makes a byte
by byte copy and creates a file with the name you specify.
The command line looks like this:
XEROG [path]Original [path]Copy Start Stop [N]
Items in brackets are optional. The file to copy from is specified
by Original. You may include a path if you wish. The file you
want to create is specified with Copy. You may include a path if
you wish. Please note that if you specify an already existing file
then XEROG will copy over it and destroy it with no warning.
You must specify a starting byte position in Original. If you want
to copy from the begining of Original, you would put a 1 where
Start is on the command line. You must also specify a stopping
byte position in original for the copy to stop at. This byte will
be included in the Copy. Put this number where the Stop is on the
command line. There is an optional formatting number N at the end
of the command line. This was included for our own purposes, but
might be of some use to you. If you put a number here, XEROG will
insert a carriage return and line feed every Nth byte in Copy.
Examples:
Assume you have a 36 byte long file called test.txt with this in it:
abcdefghijklmnopqrstuvwxyz0123456789
You want to copy the first 15 bytes to a file called test.xrg :
XEROG test.txt test.xrg 1 15
This will produce a file with this in it:
abcdefghijklmno
Now you want to copy from the 5th byte to the 20th byte:
XEROG test.txt test.xrg 5 20
This will produce a file with this in it:
efghijklmnopqrst
Suppose you want a CR/LF every 5th byte, starting from the 1st byte
through the 25th byte:
XEROG test.txt test.xrg 1 25 5
This will produce a file with this in it:
abcde
fghij
klmno
pqrst
uvwxy
Please note that in each of these examples, the previous test.xrg
gets completely overwritten each time with the new improved test.xrg
Well, there you have it. XEROG has been extremely usefull to us in
analyzing several large databases (310Mbytes+ !). We hope that it
proves usefull to you too.
If you have any questions, comments, complaints, suggestions or
gossip, contact Eli Kane on CompuServe 72223,1722.
Tolgathian Software - purveyors of fine no frills utilities.