joakim666 / colortail

Like the tail command line utility but with colors
GNU General Public License v2.0
125 stars 23 forks source link

Support for stdio #1

Closed bentruyman closed 9 years ago

bentruyman commented 13 years ago

Maybe I'm doing something, but I'd like to be able to pipe text into colortail, but it doesn't seem to be working for me.

For example colorizing stdout messages from a nodejs app:

node myapp.js | colortail -f

joakim666 commented 13 years ago

I've been looking into adding support for this as it's been requested by a few people. But it turned out that it wasn't as easy as I thought due to the need to buffer the read data in another way compared to when reading from a file.

I'll have another look at this problem when feel inspired and up for a challenge!