summaryrefslogtreecommitdiff
blob: b7fc4dc2dee175f717df65c01b03df9bb997de48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
  <email>taviso@gentoo.org</email>
  <name>Tavis Ormandy</name>
</maintainer>
<longdescription>
mtail 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. for details see the sample config file.

mtail was inspired primarily by my dissatisfaction with colortail, which was written in c++, but i have since seen several other similar utilities, mostly in python, most notably generic colouriser and pctail. i believe that mtail offers various advantages over each of these other tools, including ease of configurability, lack of odd command-line options, and overall simplicity.

for further information, see the README.
</longdescription>
</pkgmetadata>