[plug] Pager line-based filtering

Carl Gherardi cgherardi at iprimus.com.au
Sun Sep 26 18:17:42 WST 2004


On 25/09/2004, at 5:16 PM, James Devenish wrote:

> Hi,
>
> This is more of an open-source command-line question than a Linux
> question. I use GNU `less` as my pager and when using it to view line-
> based data (e.g. log files), I often want to filter out a lot of lines
> (or highlight specific lines). Currently, if I want to do this, I 
> resort
> to pressing 'v' and doing this work within `vim`. So, does anyone know
> of a terminal pager---e.g. a recent version of less---that will allow 
> me
> to set filters (or highlighting of lines) using regular expressions? I
> have a feeling that I *used* to use such a programme regularly but I
> have now forgotten its name :-P
>

multitail (http://www.vanheusden.com/multitail/)  can do most of what 
you are looking for, regular expressions for colour and filtering, and 
works like tail -f on multiple files. Once customized it is a 
particularly useful tool.

Carl




More information about the plug mailing list