On Mar 28, 6:54 pm, [EMAIL PROTECTED] (Lawrence Statton) wrote:
> If you're using Gnu diff (i.e. the diff that comes with most Linuces)
> --speed-large-files might help you, without having to jump through a
> perl hoop.
>
> --L

Problems:
1) it runs out of memory 8Gig of files with 2GB RAM
2) it assumes a number of lines (3999) because it doesn't know if it
will
   find a difference in one line or a million lines.
(2b: this goes against the *nix pipe concept because it then pushes
this
unwieldy block to the next pipe 'cut' rather than gracefully streaming
from pipe to pipe.)
3) The heiristic approach is an imprecise solution to an exact
problem.
   It doesn't work perfectly every time.

For most files the simple bash scripts a clean, self-documenting and
fine.
It's natural in perl.
I'm battling syntax and trying to avoid physical RAM issues entirely.

Thanks


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to