Sort Xeggex orders by date and time with AWK
This article is considering formatting date and time and sorting by date and time.
My example orders look like this
This article is considering formatting date and time and sorting by date and time.
My example orders look like this
When transcode video or catch bugs in live stream, sometimes it is necessary to log ffmpeg messages with also date and time. This is possible with awk.
Here we use test stream link from [3]. We run ffplay for check its work:
ffplay https://cph-p2p-msl.akamaized.net/hls/live/2000341/test/master.m3u8 2>&1 | awk 'NF {print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush()}'
Explanation: