* Clark C . Evans <[EMAIL PROTECTED]> [020316 14:34] wrote:
> I looked around for quite a while for a simple program
> to do a binary patch on an iso cdrom image.  I was hoping
> that I could use "bvi" or similar binary editor, but it
> wasn't clear how I could get them to do simple string
> replacement.  So, I wrote one and am putting it in the
> public domain, I hope someone finds it useful.

Kinda cool, but you should make the program return success/failure
if it finds the string to replace.  You should also probably allow
a starting offset and a way to list all the locations where it
occurs, or:

use grep -b to find the pattern and 'dd' to patch it. :)

-Alfred

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to