fileinput documentation normally would be found at http://tcllib.sourceforge.net/doc/fileinput.html but isn't at this time.
Category Package, a part of Tcllib