Mail Archives: djgpp/1996/04/12/13:34:33
Diff aside, take note that the RCS documentation specifically states that
it can't be used to manage revisions for binary files. It doesn't matter
whether diff can work with binary files or not--RCS simply wasn't designed
for binary file version control. RCS uses the -e switch of diff which
outputs the editor commands (editor meaning the old Unix line editors ed
and ex) that are necessary in order to transform one file into the other,
and these commands are what is stored in the RCS deltas. Obviously this
model breaks down for binary files, as there are no coherent lines in
them, and they output all sorts of strange characters which are inter-
preted in odd ways by text files, such as the EOF diff complains about.
Whether your version of diff can work with binary files or not, diff -e
will *only* work on text files, for that obvious reason. Try it yourself,
with a command like diff -e file1.bin file2.bin. It will probably give
the same error that ci gives you.
-------------------------------------------------------------------------
University of the Philippines Rafael R. Sevilla
PABX/OVCA: Diliman Networking Project rsevilla AT sauron DOT upd DOT edu DOT ph
-------------------------------------------------------------------------
- Raw text -