Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
haroflow committed Apr 18, 2021
2 parents 1c2f6d3 + d2fb763 commit 7c7623a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: go

go:
- 1.16
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ Pass regular expressions as arguments to highlight the text. Each argument will

Examples:
```
# View help
logh
# Highlights "GET" with red, "POST" with green
tail -f /var/log/httpd/access.log | logh GET POST
# Highlights the whole line containing "word"
cat textfile.txt | logh '.*word.*'
# Ignore case. Matches get, GET, Get, etc.
cat textfile.txt | logh -i get
```

0 comments on commit 7c7623a

Please sign in to comment.