-
Notifications
You must be signed in to change notification settings - Fork 0
Colorizing and highlighting certain lines
Table of contents
In first place, Salomon has been developed to monitor and analyze files by colorizing lines which contain certain terms (which can also be highlighted) to get a fast overview of the contents (for example to easily detect error messages inside log files).
Inside the colors
sub-directory there is a sample color config file named sample_colors.cfg
. It can be used to colorize lines containing certain terms with user-defined colors. This sample config file also contains some simple usage examples how to do this.
Details about color configuration files can also be found here inside the wiki.
The --highlight-matches
command-line argument allows to additionally highlight the filter terms inside the corresponding lines (if a filter was given) by inverting their colors (sort of marker pen like). It can be used with and without a color config.
You may also use --highlight-upper
, which works the same way and additionally switches the letters of the filter terms to uppercase.
Instead of only highlighting the filter terms, you can also highlight the whole line using --highlight-all
. This does neither require a color config nor a filter.
Wiki
Quick start
Installation (optional)
- Quick installation guide
- Manually downloaded archive
- Verifying archive integrity
-
Installation script
(to install, update and uninstall)
- RPM package
Compatibility
Configuration
Salomon-BSD
Usage
- Processing input files
- Colorizing and highlighting certain lines
- Handling file paths containing certain characters
Development