perl5ever has asked for the wisdom of the Perl Monks concerning the following question:
I'd like to add customizable syntax highlighting to a pager like 'less'.
I already know about LESSOPEN="| prog %s" and less.vim and ccze. I want to apply custom syntax highlighting to large log files with all of the capabilities of 'less', i.e. up/down line/page, forward and backward regex search, go to line number, go to absolute position offset (+NNNNP), tail mode (+F), etc.
Any ideas? Naturally I'd prefer to write the syntax highlighting logic in perl, but that's not an absolute requirement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pager written in perl?
by MidLifeXis (Monsignor) on Dec 01, 2011 at 19:02 UTC | |
by perl5ever (Pilgrim) on Dec 01, 2011 at 19:23 UTC | |
|
Re: pager written in perl?
by Sewi (Friar) on Dec 01, 2011 at 21:07 UTC |