David Desrosiers wrote:
>         perl -pi.$$ -e 's,oldthing,newthing,g' driver.ko
>   

How do I enter the binary search/replace strings?

> The better solution is to just build the driver on another system 
> that DOES have a compiler and copy it to the system you intend to run it 
> on. 

True, but in this case a simple binary hack would do the job but I
couldn't think of a good way to do it. As I said, more for interest than
anything else.

>         vi -b
>   

That could be fun! Does vi have an option to display in hex mode?

-- 
Mark Rogers
More Solutions Ltd :: 0845 45 89 555


_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to