Created
January 22, 2015 08:10
-
-
Save high5/2e51ebb333776f931b5e 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
tail -f logs/error.log | perl -nle 's/\\x(..)/pack("C",hex($1))/eg;print $_' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment