Subject: Re: GNU "diff" considered damaged
To: Mike Cheponis <mac@Wireless.Com>
From: Matthias Buelow <mkb@moghedien.mukappabeta.net>
List: netbsd-help
Date: 07/13/2001 11:45:16
Mike Cheponis writes:
>p.s. Tnx for your suggestion about "cmp". But having both "diff" and "cmp"
>is sort of like having both "ls" and (a currently non-existent) "dir", yes?
Eh? diff(1) is for generating difference sets of text files (for manual
inspection or as input for patch(1) in different formats), whereas cmp(1)
is a simple check for determining if two files have the same contents (no
matter if text only or binary data.) Certainly not the same tool in two
disguises.
--mkb