tgrep
is a cli wich purpose is to find the n nearest syslog timestamped lines from stdin ( from tools like grep,awk, )
tgrep
is using standard flags from golang :
Usage of tgrep.exe
-n int
#lines to ouput (default 1)
-t string
approx time to look after (default "Jan 1 00:00:00")
-v prints current version
tgrep
is written in golang, so building will requisite you to install golang.
go get github.com/thc2cat/tgrep
go build
go install
Please read, fork and PR
- thc2cat - Initial work
This project is licensed under the ?? License - see the LICENSE.md file for details
- Hat tip to anyone who's code was used
- Inspiration
- etc