I have a number of files (Jupyter notebooks,
.ipynb) which are text files. All of these contain some LaTeX markup. But when I run
file, I get:
$ file nb_* nb_1.ipynb: ASCII text nb_2.ipynb: ASCII text nb_3.ipynb: ASCII text, with very long lines nb_4.ipynb: LaTeX document, ASCII text, with very long lines nb_5.ipynb: text, with very long lines
file distinguish these? I would like all files to have the same type.
(Why should the files have the same type? I am uploading them to an online system for sharing. The system classifies them somehow and treats them differently, with no possibility for me to change this. I suspect the platform uses
file or maybe libmagic internally and would like to work around this.)