4 ms·
The human-readable representation can be as long as you want. Also, one could embed checksums in the output, so that if non-displayed contents differs that woul
by amelius 11y ago
The human-readable representation can be as long as you want. Also, one could embed checksums in the output, so that if non-displayed contents differs that would trigger an output by the diff command (granted, this way it is not so human-readable anymore because of the checksum, but it would still be a more modular approach).
- etwigg 11y agoI don't think diff will perform well on two 4gb inputs. I agree there should be a modular approach, but I don't think flat text is the best lowest-common-denominator. Your proposal would certainly work for a lot of cases though, and it is very unix-y!