Path to this page:
./
misc/mtail,
Small tail workalike that performs output coloring
Branch: pkgsrc-2020Q1,
Version: 1.1.1nb5,
Package name: mtail-1.1.1nb5,
Maintainer: pkgsrc-usersmtail is a small tail workalike that performs output coloring using ansi
escape sequences (although the sequences are overridable, so you could cause
it to output something else, e.g. html font tags, if you really wanted to).
mtail is written in python, is fairly small, and should be relatively
platform-independent.
It has a config file that can contain an arbitrary number of entries, each
of which has a series of regular expressions to indicate which files to color
according to which entry. for each entry, the config file specifies a coloring
scheme using regular expressions and, optionally, filters to apply to each
line before coloring (for example, to strip out extra info, etc.). the config
file also may override the predefined colors and the escape sequences (or
whatever) actually used to perform the coloring.
Required to run:[
lang/python37]
Master sites:
SHA1: 69df8bf2f2aadbdf979af2ab2d6519a8de6eaa6d
RMD160: 360ced7d669fb33219413c7f2ee51bf5c31ef0f0
Filesize: 8.91 KB
Version history: (Expand)
- (2020-04-20) Package added to pkgsrc.se, version mtail-1.1.1nb5 (created)