View Issue Details

IDProjectCategoryView StatusLast Update
0000712fileGeneralpublic2026-02-07 18:46
Reporterjsummers Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.46 
Summary0000712: One-line text file with CR reported as "no line terminators"
DescriptionA one-line ASCII text file that ends with a carriage-return should, I would think, be reported as "with CR line terminators". But instead, 'file' reports "no line terminators".
Steps To ReproduceUsing the attached test files with v5.46:

$ file cr1.txt cr2.txt
cr1.txt: ASCII text, with no line terminators
cr2.txt: ASCII text, with CR line terminators

v5.44 gets it right:

$ file cr1.txt cr2.txt
cr1.txt: ASCII text, with CR line terminators
cr2.txt: ASCII text, with CR line terminators
TagsNo tags attached.

Activities

jsummers

2026-02-07 18:46

reporter  

smalltext.zip (1,213 bytes)

Issue History

Date Modified Username Field Change
2026-02-07 18:46 jsummers New Issue
2026-02-07 18:46 jsummers File Added: smalltext.zip