#!/bin/bash
awk -F'|' '{
    ts=$1
    cmd="date -d @" ts " +\"%Y-%m-%d %H:%M:%S\""
    cmd | getline d
    close(cmd)
    print d, $0
}'
