[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to modify string in binary files ?



On Tue, Sep 01, 2009 at 02:03:02AM EDT, Jerome BENOIT wrote:

> Otherwise, as no HEX code appears, 

You need to use a vim add-on called xxd - it's in the vim-common
package.

Google for vim tips with "vim xxd" as the keywords.

> is `bvi' a good alternative ?

I wasn't familiar with bvi, but one thing I like about vim is that you
can undo/redo your changes and test the results in another window. Not
sure bvi supports that?

As Ron said, this does not dispense you with making a backup.

Another thing - if the string you want to modify is not plain ASCII,
UTF-8, etc. vim could make it easier to locate/edit your string
depending on the circumstances.

CJ


Reply to: