timegrep(1)

NAME
timegrep - utility to grep log between two dates or tail last lines to time ago.

SYNTAX
timegrep [options] <files>

OPTIONS

--format, -e
    Datetime format (default: "default"). See strptime(3) for format details. See --help for list of format aliases.

--regex, -r
    Regular expression for datetime search (default: depends on --format).

--start, -f
    Datetime to start search (default: now).

--stop, -t
    Datetime to stop search (default: now).

--seconds, -s
    Seconds to substract from --start (default: 0).

--minutes, -m
    Minutes to substract from --start (default: 0).

--hours, -h
    Hours to substract from --start (default: 0).

--debug, -d
    Show debug statistic on exit.

--version, -v
    Print version and exit.

--help, -?
    Print brief help and exit.

EXIT CODE

0   Successful completion.

1   Nothing found.

2   General application error.