[File] ASCII text detected as data
Aman Sharma
amansha at kth.se
Tue Mar 11 09:44:07 UTC 2025
Hi,
Any follow-up on this?
Regards,
Aman Sharma
PhD Student
KTH Royal Institute of Technology
School of Electrical Engineering and Computer Science (EECS)
Department of Theoretical Computer Science (TCS)
<http://www.kth.se><https://www.kth.se/profile/amansha><https://www.kth.se/profile/amansha>
<https://www.kth.se/profile/amansha>https://algomaster99.github.io/
________________________________
From: Aman Sharma
Sent: Monday, February 24, 2025 11:10:12 AM
To: file at astron.com
Subject: ASCII text detected as data
Hi,
I have attached two files. Both of them have identical ASCII content but their line endings differ. `reb` has `\n\n` while `ref` has `\r\n\r\n` as line endings.
When I run file (file-5.41) over any of them, I get data as filetype for them.
> file reb ref
reb: data
ref: data
Shouldn't the actual type be ASCII?
Regards,
Aman Sharma
PhD Student
KTH Royal Institute of Technology
School of Electrical Engineering and Computer Science (EECS)
Department of Theoretical Computer Science (TCS)
<http://www.kth.se><https://www.kth.se/profile/amansha><https://www.kth.se/profile/amansha>
<https://www.kth.se/profile/amansha>https://algomaster99.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20250311/023bc87b/attachment.htm>
More information about the File
mailing list