dcat library

A library to concatenate files to standard output or file.

Classes

CatError
Holds the error message and path of the file that caused the error.
CatResult
Holds the cat result exitCode and errors.

Constants

exitFailure → const int
The exit status code for failure.
exitSuccess → const int
The exit status code for success.

Functions

cat(List<String> paths, IOSink output, {Stream<List<int>>? input, bool numberNonBlank = false, bool showEnds = false, bool showLineNumbers = false, bool showNonPrinting = false, bool showTabs = false, bool squeezeBlank = false}) Future<CatResult>
Concatenates files in paths to the standard output or a file.