Jim Correia <[EMAIL PROTECTED]> wrote on 11/27/02 at 9:08a:
> I'm sure somebody has at some point. I just wrote one here. It isn't a
> full fledged tool in that it doesn't give you usage and doesn't have an
> error checking for arguments and such, but if you always supply both
> arguments and they are valid, it should do the job.
I wrote something similar a while back, with switches to control
whether the comparison ignores case and leading/trailing whitespace.
It also does some rudimentary testing to make sure you pass exactly
two arguments, and that both arguments are files.
I cleaned it up with some POD and usage info (and nabbed a few
improvements from your script and Peter N Lewis's) and put it here:
http://daringfireball.net/projects/bbdiff/
--
John Gruber
[EMAIL PROTECTED]