convert log file with unix timestamp
awk -F"[][]" '{cmd="date -d@" $2;cmd |getline $2; close(cmd)}1' infile
" Thu Oct 19 03:42:35 STD 2017 Auto-save of retention data completed successfully.",
" Thu Oct 19 04:42:35 STD 2017 Auto-save of retention data completed successfully.",
" Thu Oct 19 05:42:35 STD 2017 Auto-save of retention data completed successfully.",
" Thu Oct 19 06:42:35 STD 2017 Auto-save of retention data completed successfully.",
" Thu Oct 19 07:42:35 STD 2017 Auto-save of retention data completed successfully."
Also in C++:
- clear arp table ubuntu]
- bash move a list of files
- tic toc command bash
- powershell allow execution
- yarn clear cache
- goodix debug linux
- arch linux
- git push rejected
- install ionic globally
- uninstall package with pip
- App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/python.tgz
- how to check for angular cli version
- list apt installed programs
- install scoop
- git https basic access denied
- why jupyter notebook suggestions not showing after upgrade
- RuntimeError: The current Numpy installation ('C:\\Users\\farka\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages\\numpy\\__init__.py') fails to pass a sanity check due to a bug in the windows runtime.
- cut first word
- how to show github url
- bash if
- untar multiple archives into thier own folders linux command
- nginx E: Sub-process /usr/bin/dpkg returned an error code (1)
- node install mint
- git remove staged area