joakim666 / colortail

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

Color all line #15

Closed miscillo closed 8 years ago

miscillo commented 8 years ago

Hi. I don't know if what I want to do is something possible, something I wrote wrong or a possible new feature. I want to have all the line that contains a string (for example) 'error' painted red.

I tried various regex, without success. Is it possible?

Thanks, Miscillo

derbeneviv commented 8 years ago

does smth like error. or error.\ work?

i can't confirm 100% now, because i don't have colortail installed for now, but i did manage to do it 100%

miscillo commented 8 years ago

Nothing. That regex seems that they don't matches. I also try .error. without success.

miscillo commented 8 years ago

Ok. I managed that. I don't know exactly why, but seems I added some tab or indent that colortail doesn't like. Thanks you.