in reply to Re^2: binmode copy loses final byte
in thread binmode copy loses final byte
Both of those examples die, giving the 'Invalid input file...' message part way through reading an input file.
An output file is written, but only up to the point where reading died.
Happens both with a very large *.txt file, and also a medium sized *.jpg file. Nothing looks untoward at that point for the *.txt input file. The output file ends in the middle of a text line.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: binmode copy loses final byte
by ikegami (Patriarch) on Jul 01, 2025 at 12:20 UTC | |
by aplonis (Pilgrim) on Jul 01, 2025 at 13:33 UTC | |
by ikegami (Patriarch) on Jul 01, 2025 at 15:07 UTC |