cat function Null safety
- String path,
- {LineAction stdout = print}
Prints the contents of the file located at path
to stdout.
cat("/var/log/syslog");
If the file does not exists then a CatException is thrown.
Implementation
void cat(String path, {LineAction stdout = print}) =>
waitForEx(core.cat(path, stdout: stdout));