Skip to content

Instantly share code, notes, and snippets.

@MartinSeeler
Created September 10, 2014 08:39
Show Gist options
  • Save MartinSeeler/8def168776751e2a87e2 to your computer and use it in GitHub Desktop.
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
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