aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 28d3dc50a004ec9648c4eeac4a945d4258b07f6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Usage: hi [OPTION]... REGEXP
Highlight lines from standard input using the given regexp.

  -bg color
    	background color default|black|red|green|yellow|blue|magenta|cyan|white (default default)
  -c color
    	highlight color black|red|green|yellow|blue|magenta|cyan|white (default red)

Examples:
  echo 1\n2\n3 | hi ^2

  journalctl | hi -bg cyan (E|e)rror | less