in reply to Re: while behaviour on binary filesin thread while behaviour on binary files
Definite upvote on the preceding comment! unpack is your best friend when dealing with (presumed) fixed-width data records.