Created
January 13, 2021 12:50
-
-
Save mbaldessari/b7af194582d6581f38c0b0e65b5b2c73 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
ospgrep() { | |
echo "$*" | |
grep -E "\s\b(E[rR]{2}:?|alert|Traceback|TRACE|crit|fatal|HANDLER|TASK|PLAY|Unexpected|FAIL|[Ff]ail|denied|non-zero|[Tt]ime[d\s]?out|UNCAUGHT|EXCEPTION|Unknown|[Aa]ssertion|inuse)" $* | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment