How can I write a shell script to update one octet in binary file (like I do manually with hexedit program) ?
On Tuesday 02 December 2008 13:33, KLEIN Stéphane wrote:
> I need to update one octet in a binary file (it's disk image file
> To do that, I use hexedit and I do update manualy.
> Now, I would like to script this task, I know address of octet to
> update and the new value.
> Do you know a tool to do that ?
this is an example. Suppose you have the original file "orig":