aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-07-04 10:49:43 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-07-04 10:49:43 -0700
commitd94c400f8e8fc84871d8f36bd5e904bcf11907b1 (patch)
tree4120a6eda998fddf6fa47aab05b401d07831f6ea /README
parent1d9f7d2fe88deecf958e0199b9d669328a717c17 (diff)
downloadhi-d94c400f8e8fc84871d8f36bd5e904bcf11907b1.tar.zst
It's not markdown
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..28d3dc5
--- /dev/null
+++ b/README
@@ -0,0 +1,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