[misc] use localtime in timestamp for stdin; collate in summarize; <END> moves to the last line