Documentation
¶
Overview ¶
Package fileinput provides utility functions for handling files named on the command line.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatReader ¶ added in v0.1.0
type CatReader struct {
// contains filtered or unexported fields
}
A CatReader implements io.ReadCloser for the concatenation of a sequence of file paths. The files are opened and closed on-demand as the data are read. The caller must close the reader to release any open filehandle.
func Cat ¶
Cat constructs a CatReader for the specified file paths. If no files are specified, the resulting reader is empty, returning io.EOF for all reads.
Click to show internal directories.
Click to hide internal directories.