http://qs1969.pair.com?node_id=812464


in reply to Parsing arbitrarily-formatted timestamps out of log file entries

Do not underestimate using unpack for extracting a date and/or time sequence from a record. Also, split the record, using split, into manageable fields. Normally, there is a TAB or a COLON separating the fields. A Google of “unix log file format” may also shed some light. Good luck.