[EMAIL PROTECTED] wrote:

Can anyone help me please? Our organisation uses iPlanet webservers, and the common log files are in nearly chronological order, but not quite. Does anybody have a perl script or compiled executable that can rapidly sort large log files chronologically?


The quickest solution is probably to prepend a timestamp to each record, then sort using an external sort utility of your choice, depending on your operating system, and finally strip the timestamp again. I have a sample script available if anyone is interested.

--
Klaus Johannes Rusch
[EMAIL PROTECTED]
http://www.atmedia.net/KlausRusch/


+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | Digest version: http://lists.isite.net/listgate/analog-help-digest/ | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------

Reply via email to