Last active
December 14, 2015 11:38
-
-
Save yukidarake/5080196 to your computer and use it in GitHub Desktop.
Perl5.10以上ならTime::Pieceが標準添付モジュールとなっている。ミリ秒のUNIXタイムをJSTにする。
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
perl -MTime::Piece -lane 'print localtime(gmtime($F[0]/1000)->epoch)."\t$F[1]"' hoge.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment