BINSUB 1.4 (c)1994 by Peter Enzerink. May be freely distributed.

TARGET

DOS:    MSDOS 3.0 +
CPU:    386 +

INTRODUCTION

Not all that complicated, but I find I use this tool all the time!

Basically it will let you search any type of file for any type of string,
up to about two thousand characters in length, and replace it with another 
string of variable length up to about two thousand characters.

Since DOS does not allow a command line to have more than 127 characters,
you may prefix the old or new pattern with an '@'. This will tell BINSUB
to look for a file called {oldpattern} and use its contents as the search
string. Likewise with the new pattern.

You can search for binary patterns and nonprinting characters by specifying 
each character with a special format:

/nnn    where nnn is a three digit decimal number representing the ASCII
        value of the character.

An example use:

BINSUB CONFIG.SYS fcbs=4,1/013/010 fcbs=1,0/013/010lastdrive=z/013/010

This will modify the fcbs parameter in the file, and also insert a lastdrive
statement between the fcbs line and the next line in the file.

COMMAND LINE OPTIONS

You may add a /I to the end of the command line to make the search case
insensitive. This is particularly useful in text files.

FEEDBACK

If you have any comments, complaints, suggestions, large amounts of cash 
et cetera, don't hesitate to contact me.

EMAIL: Peter.Enzerink@Finance.ausgovfinance.telememo.au
X400:  /G=Peter/S=Enzerink/O=Finance/P=ausgovfinance/a=telememo/c=au

REVISION HISTORY

93/11/16 1.1

First public release

93/11/24 1.2

Whoops! The ignore case switch was actually /V instead of /I. This has been
fixed so that /I works.

93/12/05 1.3

When using the /I option, all characters in the output file where being
converted to all upper case. This has been fixed.

94/01/13 1.4

Fixed problem where you couldn't search for a single character.

Fixed problem where a 0xFF was being appended to the file.

(Thanks to Stephen Haines for pointing these out)

