Re: Sorting out of sequence log Apache log file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 26, 2006 at 02:05:40PM -0700, Allen K. Smith wrote:
> 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/textutils.html#SEC23
> 

Shoot, probably would have taken me longer to work out the correct sort
syntax than to write the Python script (sadly). :)

Gonna try the sort method now just for fun.

Ray

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux