On Mar 28, 6:54 pm, lawre...@xxxxxxxxx (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.
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
find a difference in one line or a million lines.
(2b: this goes against the *nix pipe concept because it then pushes
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
It doesn't work perfectly every time.
For most files the simple bash scripts a clean, self-documenting and
It's natural in perl.
I'm battling syntax and trying to avoid physical RAM issues entirely.