$ nkf -g test*
test.tex: UTF-8
test1.tex: EUC-JP
なのに、
$ file test*
test.tex: LaTeX 2e document, UTF-8 Unicode text
test1.tex: LaTeX 2e document, ISO-8859 text
となる。
man fileをざっと読んだけど、fileコマンドに正しく判断させる方法がわからんかった。