Re: binary diff command

From: Carlsson, Anders (dal95acn_at_mds.mdh.se)
Date: 2000-02-07 16:19:01

> I'm sure this topic has come up before, but I don't recall the outcome -
> is there any way under Unix to do a binary compare of two files? Something
> like diff but operating on arbitrary binary files rather than text.

Although I never got it to work, cmp(1) should be there, at least on
my Solaris 2.5 system.

> The cmp utility compares two files.  cmp will write no  out-
> put  if  the  files are the same.  Under default options, if
> they differ, it writes to standard output the byte and  line
> numbers  at  which the first difference occurred.

/Anders Carlsson
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.