in reply to pager written in perl?

less syntax highlighting yielded this little goodie as the first hit.

--MidLifeXis

Replies are listed 'Best First'.
Re^2: pager written in perl?
by perl5ever (Pilgrim) on Dec 01, 2011 at 19:23 UTC
    Yes, and I already know about that.

    The main problem is that, AFAICT, less doesn't support random access of the file when using a LESSOPEN filter.

    The log files I want to colorize are very large, and it is impractical to colorize the entire file. Also, I want search to be performed on the raw contents, not the colorized version.