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.
In reply to Re: Parsing arbitrarily-formatted timestamps out of log file entries
by chuckbutler
in thread Parsing arbitrarily-formatted timestamps out of log file entries
by mr_flea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |