Created
September 10, 2014 08:39
-
-
Save MartinSeeler/8def168776751e2a87e2 to your computer and use it in GitHub Desktop.
Parses text and trims only log message and speaks it out on terminal
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
head ./foo-bar-log.log | grep -i 'warn' | cut -d '-' -f 4 | awk '{print "Prefix " $0}' | say -v "Zarvox" -r 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment