highlight CLI application

2017-07-01

I created a command line application for highlighting parts of a file that match a given regex.

Imagine the following file file-cats exists:

nonhighlighted file 

The highlight command can be used to highlight the regex cat:

simple highlighted file 

When highlighting matches from multiple files, the filenames will be colored and striped:

multiple highlighted files 

There is also an additional command hrep that acts exactly like grep but highlights and stripes filenames:

hrep example 

For installation instructions see the README.md on Github.

tags: haskell