On Sat, 3 Apr 2004, Klaus Johannes Rusch wrote: > [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. >
However, analog does not need the logfiles to be sorted. It produces the same results in either case. -- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ "The internet is a reflection of our society. If we do not like what we see, the problem is not to fix the mirror, we have to fix society." (Vint Cerf) +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------