ronisbr / TerminalPager.jl

Pure Julia implementation of the command less
MIT License
116 stars 8 forks source link

Add option to search only one column #21

Open ufechner7 opened 2 years ago

ufechner7 commented 2 years ago

It would be very useful for me if I could search for a value, for example 14 in a specific column only, because if I search for it globally I get far too many irrelevant hits. In my application 14 in the column Flags indicates a CAN bus error frame, but it can also appear (often) in other columns without any special meaning.

ronisbr commented 2 years ago

Hi @ufechner7 !

TerminalParger is not data aware, meaning that I just cannot know where a column in a table begins or ends. We can, however, limit the search with respect to a certain column interval, but I refer to text columns, not table columns. Will it work?

ronisbr commented 11 months ago

Bump!