Last active
June 20, 2019 08:15
-
-
Save 0x8801/8c3945b302a20c6e2e23a53a4c51987b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Highlight a phrase from an output in terminal | |
tail -f logfile.log | perl -pe 's/phrase/\e[1;41m$&\e[0m/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment