If I run
kpsewhich .tex
I get
/usr/local/texlive/2013/texmf-dist/tex/latex/tools/.tex
This file belongs to LaTeX core files and is nearly empty:
%%
%% This is file `.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% fileerr.dtx (with options: `return')
%%
%% This is a generated file.
%%
%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005
%% 2006 2008 2009
%% The LaTeX3 Project and any individual authors listed elsewhere
%% in this file.
%%
%% This file was generated from file(s) of the Standard LaTeX `Tools Bundle'.
%% --------------------------------------------------------------------------
%%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This file may only be distributed together with a copy of the LaTeX
%% `Tools Bundle'. You may however distribute the LaTeX `Tools Bundle'
%% without such generated files.
%%
%% The list of all files belonging to the LaTeX `Tools Bundle' is
%% given in the file `manifest.txt'.
%%
\message{File ignored}
\endinput
%%
%% End of file `.tex'.
I guess it has something to do with some
file not found
error but I can't find anything about it in source2e. So what is it for?
.tex. If that file is input it does nothing. There's similarly also anx.tex. I'm not sure if they're still used, or whether they're a hang-over from the olden days. – Nicola Talbot May 11 '14 at 14:43texdoc fileerr– Martin Schröder May 12 '14 at 00:35