Update README
Update todo list
Use TXR not hare lang
ANSI log colorizer, written in TXR lang. Will be rewritten in Tab lang.
Alpha release todo:
tab
lang (faster, simpler lang), https://tab-lang.xyz/inotify
and/or polling to provide an -F
option like less -F
/path/to/foo.c:42
My searches lead me to a mythical program called colorize
written by one
Gergely Nagy for FreeBSD, for which I have only managed to find an online
manual page. It isn't packaged by my
Linux distribution and I don't know where the sources are, so I cannot make any
comparisons here.
The program CCZE was written as a replacement
for colorize
in almost 5,000 lines of C excluding comments. It has rules,
plugins, etc. If we become like CCZE, that is a problem.
The more recent grc aims for a broader scope,
beyond a simple syslog colorizer. It can inject ANSI codes in the output of
numerous GNU/Linux commands, again using a comprehensive configuration system.
Although featureful and more actively maintained than the last two options,
it refuses to read from stdin and therefore cannot be used in pipes.
Awkward usage is combined with a confusing split into grc
and grcat
executables.
There is also clog
, from the taskwarrior project, which seems to have some
extremely basic rules for
syslog coloring.
Supercat is perhaps the most interesting alternative, and offers HTML output capability, if that is something you want.