[nzlug] Find and replace within a binary file?

Toby Collett tcollett+lists at plan9.net.nz
Thu Jul 3 11:40:50 NZST 2008


easy (but manual) option is to use something like khexedit which will
preserve the binary stuff but still allow a search and replace.

Toby

2008/7/3 Simon <greminn at gmail.com>:

> Hi There, Im trying to compile a driver and have these instructions...
>
> Now copy lib/fcpci-lib.o to lib/f2pci-lib.o and replace all occurences
> of "fcpci" in
> f2pci-lib.o by "f2pci". (It's a binary file, so be careful)
> Replace all occurences of __fcpci__ in src.drv/* by __f2pci__. (quite many)
> In src.drv/defs.h, replace
>
> Im wondering if someone could assist me to do the find and replace for
> the binary file. Im ok with the rest of it :)
>
> Thanks
>
> Simon
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>



-- 
This email is intended for the addressee only and may contain privileged
and/or confidential information


More information about the NZLUG mailing list