is it possible to chomp the last byte of a file? I want to remove a control-Z character (hex 1a) from the end of a file. I
can do it by reading the file line-by-line, but the file is huge, over
50Mb and it takes too long. Does anyone know if there is a quick way
to strip off that stupid control-Z? thanx!
can do it by reading the file line-by-line, but the file is huge, over
50Mb and it takes too long. Does anyone know if there is a quick way
to strip off that stupid control-Z? thanx!