Sorting out of sequence log Apache log file

Chris W. Parker cparker at swatgear.com
Wed Apr 26 22:37:36 UTC 2006


Allen K. Smith <mailto:lazlor at bigboy.lotaris.org>
    on Wednesday, April 26, 2006 2:06 PM said:

> sort -s -t[ -k 2.4,2.6M -k 2.1,2.2n -k 2.13,2.19n may do it.
> 
> I have to RTFM whenever I need to get this working.
> 
>
http://www.gnu.org/software/textutils/manual/textutils/html_mono/textuti
ls.html#SEC23
> 
> Good luck :-)

Thanks. I'll give it a shot. :)



Chris.




More information about the redhat-list mailing list