Hi, > I've a "VERSION" file for a package (not from debian) and this file doesnt > have a 0x0A at the end of the line. > cat doesnt display any contents (less does). > If I add lines before the offending line, these lines are displayed but not > the last one. > > Attached: the VERSION file which contain a single line and the TXT file which > contains 2 lines, the second one without a 0x0A.
Your file is not a text file and it does not contain such a thing as a line. POSOX 3.206 Line A sequence of zero or more non- <newline> characters plus a terminating <newline> character. I also cannot reproduce your bug. Maybe you can post a screen dump? -nik