tail function
Returns count lines
from the end of the file at path
.
tail('/var/log/syslog', 10).forEach((line) => print(line));
Throws a TailException
exception if path
is not a file.
Implementation
Progress tail(String path, int lines) => _Tail().tail(path, lines);