Last active
August 29, 2015 14:10
-
-
Save Ladicle/c2c1d80bd6b78f0f5df6 to your computer and use it in GitHub Desktop.
tailに対してpipで渡せば色つくよ
This file contains hidden or 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
perl -pe "s/INFO|DEBUG|^D|^I/\e[1;33m$&${DEFO}/g;s/Finish|[Ss]uccess|SUCCESS/\e[1;32m$&\e[0m/g;s/^F|ERROR|Error|FAIL|Fail/\e[1;31m$&\e[0m/g;s/Start|START|start[^=]/\e[1;36m$&\e[0m/g;s/ \[[^\]]*\]/\e[1;35m$&\e[0m/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
こんなん