Quantcast
Channel: What are the metrics that `file ` uses to determine the type of a text-like file? - Unix & Linux Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Stephen Kitt for What are the metrics that `file ` uses to...

Most file type detection in file is based on “magic” values, described in a large set of files; TeX files have their own set of detection recipes.CSV files however are handled differently, with a...

View Article



What are the metrics that `file ` uses to determine the type of a text-like...

I have a bunch of LaTeX source files, all have the same structure, all have Unix-style line endings and all are UTF-8, all are roughly the same size (1-2KB), all use spaces for indentation-formatting....

View Article
Browsing all 2 articles
Browse latest View live




Latest Images