[sf-lug] Fwd: stderr and stdout, merged in a single file, in different colors

Kristian Erik Hermansen kristian.hermansen at gmail.com
Sat Sep 27 12:07:17 PDT 2008

This one is a weird question.  I wonder if anyone here has the answer
:-)  Regards...

---------- Forwarded message ----------
From: Mark K. Mellis <mkmlists at mellis.com>
Date: Sat, Sep 27, 2008 at 10:43 AM
Subject: stderr and stdout, merged in a single file, in different colors
To: uuasc at uuasc.org

Hi, Group,

Has anyone ever heard of a program that you can pipe stdout and stderr
into and it will write a log file that has the two streams
interleaved, but displayed in different colors?

One of my java programmers is asking for this. She seems to think it
is a normal part of the unix toolkit. I, of course, have never heard
of such a thing. Sounds like it would be interesting.

I saw a log viewer once that did something like it, but it sucked on a
number of file descriptors and colored each one a different color
using curses. It didn't capture the bits in a file, then play them
back in color at will.


Mark K. Mellis
--General instructions--  --Administrative requests--
Post to this list,        Send to Majordomo at uuasc.org, no subject needed
send to uuasc at uuasc.org  Include ONLY the following in the message BODY
Last resort, send to       To unsubscribe: "unsubscribe uuasc"
owner-uuasc at uuasc.org     Information or help: "info uuasc" or "help"

Kristian Erik Hermansen

More information about the sf-lug mailing list