Since each individual log is sorted already you should not need to do so much work. The following outline should be sufficient:
open the log files and the output file. read first line of each log file. write oldest line to output file and read next line from corresponding + input file. repeat.
update: See Also File::MergeSort
Good Day,
Dean
In reply to Re: progress bar for a system command
by duelafn
in thread progress bar for a system command
by xorl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |