Skip to content

Instantly share code, notes, and snippets.

@jhrcz
Created May 28, 2013 09:31
Show Gist options
  • Save jhrcz/5661601 to your computer and use it in GitHub Desktop.
Save jhrcz/5661601 to your computer and use it in GitHub Desktop.
useful pipe tool for converting timestamps in nagios log to human readable format
perl -pe 's/(\d+)/localtime($1)/e'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment