On Fri, 15 Sep 2000, Amir Karger wrote:
> On Fri, Sep 15, 2000 at 01:48:42PM +1000, Allan Rae wrote:
> > On 13 Sep 2000, Lars Gullik Bjønnes wrote:
> >
> > I have modified GNU diff to be able to emulate `cvs diff`. This allows
> > anyone with two copies of a cvs snapshot to modify one and generate a
> > diff between the two that is the equivalent of what they'd get if we gave
> > them cvs access.
>
> I know it's a little late to say this, but... are you sure one couldn't hack
> together a perl script that would use diff as it already stands, rather than
> requiring everyone to recompile their diffutils?
I tried this with a shell script. It was ugly and it required me to
identify which files were present in one directory and not the other
(something diff already does for directory comparisons) and call diff on
each individual pair of files like:
diff -u dir1/file1 /dev/null
since the "-N" only works for comparing directories and I couldn't let
diff do that because it didn't ignore the right files. I could have fixed
'-N' so it works when diffing individual files but that also requires
changes to diffutils.
Either way required changes to diffutils sources so I wrote the one that
made better sense to me. I might also fix '-N' operation if I get time.
> > ¹ I "overclock" the floppy to get 1.9MB disks.
>
> *That* sounds scary.
Not overclocking as such, just formatting to the extreme. 83 tracks of 23
sectors per track. The floppy drive in the machine at uni isn't capable
of the ultimate 2MB on a 1.44MB floppy otherwise I'd be using that.
Allan. (ARRae)