Editing binaries
John Young
jgy at hropus.UUCP
Sat Oct 15 01:32:16 AEST 1988
Adam Reed writes>
>
>In article <2965 at ci.sei.cmu.edu>, pdb at sei.cmu.edu (Patrick Barron) writes:
>> Or, you could always use my favorite solution - just crank up emacs
>> (or whatever your favorite editor is, but not ed or ex/edit/vi, 'cause
>> they can't do this), and change it in the binary.
>
>BULLSHIT. I edit binary files with vi all the time. Just read them in with
>:r !od -c file
>and write them out, after editing, with
>:w !rod -c >file
>which is a piece of cake. So please don't tell me I can't do something just
>because YOU don't know how. Some of us use tools, you know.
>
> Adam Reed (avr at mtgzz.ATT.COM)
So pdb's statement is correct, vi cannot edit a binary file.
All you do (most helpfully) is point out that one can convert binary
to ascii (though not with vi) and back again (though not with vi).
Watch your language.
John Young
More information about the Comp.sys.att
mailing list