Subject: | |
From: | |
Reply To: | |
Date: | Thu, 20 Jul 2000 08:00:36 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Thus it was written in the epistle of [log in to unmask],
> Dear Listers
>
> I get the following error when comparing two files
>
> Why?
>
> (108): diff.hpbin.sys; info="/OEKV/BAUSTEIN/E103B01 /OEKV/JM/E103B01"
> DIFF.HPBIN.SYS: read error on file "/OEKV/BAUSTEIN/E103B01": File too large
> (109):
It has to do with the way diff works. I think it tries to load both files
completely into memory before working with them, but I'm not sure. According
to the man page, you have two options. The first is to call diff with the -h
option, which does a "half-hearted algorithm" or the -H option, with uses
that algorithm only if necessary. The other is to call diff as bdiff. About
this, it says:
When you call it as bdiff, diff computes the differences in
chunks of n lines (default 3999). This lets you process arbi-
trarily large files and generally produces less output than the
-h option.
HTH,
Ted
--
Ted Ashton ([log in to unmask]), Info Sys, Southern Adventist University
==========================================================
The successes of the differential equation paradigm were impressive and
extensive. Many problems, including basic and important ones, led to
equations that could be solved. A process of self-selection set in, whereby
equations that could not be solved were automatically of less interest than
those that could.
-- Stewart, Ian
==========================================================
Deep thoughts to be found at http://www.southern.edu/~ashted
|
|
|