Better, in this case, might be to do nothing. Apache log files are already sorted by date/time.
Assuming that you picked a poor example, and are thinking about sorting in general, consider how big the logfiles will get, and whether you might be better off preprocessing them so that a stand-alone sort program (one that knows how to cope with things that can't fit into available virtual memory) can be employed.
In reply to Re: Sorting apache log files
by dws
in thread Sorting apache log files
by rlb3
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |