# gnuplot startup file # set datafile missing '-' set macros set grid t0 = `awk 2>/dev/null \ 'BEGIN { ts = systime() } \ FNR == 1 { col = 0 } \ col && col < NF { if (ts > $col) ts = $col; nextfile } \ /^[^#]/ { for (i=1;i<=NF;i++) if ($i == "ts") { col=i; next } } \ END { print ts }' *.log || echo 0` ts = "(column('ts')-t0)"