|
Home > Archive > Unix Programming > July 2004 > Comparing files using "C" code
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Comparing files using "C" code
|
|
|
| I have a requirement to compare binrary or text based files and I am
looking for some very very effient "C" code, which I can call from my
application.
Can anybody provide me with some examples or point me to a place where
I can find some Open Source for the "cmp" utility or something very
similiar.
Thanks in advance for all that answer this post.
| |
| Levente KOVACS 2004-07-19, 7:52 am |
| On 19 Jul 2004 05:55:00 -0700
beefstu350@hotmail.com (Stu) wrote:
> I have a requirement to compare binrary or text based files and I am
> looking for some very very effient "C" code, which I can call from my
> application.
>
> Can anybody provide me with some examples or point me to a place where
> I can find some Open Source for the "cmp" utility or something very
> similiar.
>
> Thanks in advance for all that answer this post.
Take a look at GNU's diff...
| |
| Jens.Toerring@physik.fu-berlin.de 2004-07-19, 7:52 am |
| Stu <beefstu350@hotmail.com> wrote:
> I have a requirement to compare binrary or text based files and I am
> looking for some very very effient "C" code, which I can call from my
> application.
> Can anybody provide me with some examples or point me to a place where
> I can find some Open Source for the "cmp" utility or something very
> similiar.
The GNU cmp program belongs to the diffutils, you can download the
sources from
http://www.gnu.org/software/diffutils/diffutils.html
Regards, Jens
--
\ Jens Thoms Toerring ___ Jens.Toerring@physik.fu-berlin.de
\__________________________ http://www.toerring.de
|
|
|
|
|