loco(1)

loco1

Colorize /var/log/messages for easy reading

Usage

loco [FILE] ...

Overview

Colorize FILES(s), or standard input and print on the standard output. With no FILE, read standard input.

To produce colors, loco uses the Term::ANSIColor module.

Examples

        loco /var/log/messages
        tail -f /var/log/messages ⎪ loco

Releases

4 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–3.1
  2. 4.0–5.0

Author

Jules Stuifbergen <[email protected]>. Basically, I was bored, and rewrote 'logcolorise.pl' from Michael Babcock from scratch. Feel free to mail me patches, improvements, or fixes.

Bugs

The Escape codes used for coloring are characters, too, so lines will be broken off apparently prematurely. If there's no match, the lines will be displayed in the default color. If you default color happens to be red, the effect of red keywords will disappear.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

From loco 0.32-3 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.