On 05/14/10 16:20, Glenn Knickerbocker wrote:
For the problem at hand, the obvious workaround is just to verify that
the record is long enough to be part of the packed file:
PIPE < fn ft1 fm | fblock 1024 | locate 1024 | unpack | > fn ft2 fm
That gives no report of a corrupted file; it quietly pretends it's OK.
It's effective if the only mechanism by which a file gets corrupted is
by having a few characters added at the end ("the problem at hand").
But what if a few characters were deleted, or added at the beginning?
Not the way I like to work.
-- gil