commit | 0b8ffbbf5ac00760ad8aec74fa0e776c9bff1881 | [log] [tgz] |
---|---|---|
author | Sridhar Ratnakumar <[email protected]> | Thu Nov 14 23:12:28 2013 |
committer | Sridhar Ratnakumar <[email protected]> | Thu Nov 14 23:12:28 2013 |
tree | 17e3aec4427f893b10c6ebff5b0ea7ba0c31baf3 | |
parent | de037b033d3f1ae1c39cd67b817c417df189577a [diff] | |
parent | 15d13d69b266ad51b086a8212c18b91f5e6ff8d4 [diff] |
Merge remote-tracking branch 'origin/v2.10.6-bug100770-inotify-leak' into release-v2.10-patches
A Go package striving to emulate the BSD tail
program.
t := tail.TailFile("/var/log/nginx.log", tail.Config{Follow: true}) for line := range t.Lines { fmt.Println(line.Text) }
go get github.com/ActiveState/tail
To build and test the package,
make test
To build the command-line program gotail
,
cd cmd/gotail make ./gotail -h
Location