Re: Sorting out of sequence log Apache log file
- From: Ray Van Dolson <rayvd@xxxxxxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 14:13:34 -0700
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
- References:
- RE: Sorting out of sequence log Apache log file
- From: Chris W. Parker
- Re: Sorting out of sequence log Apache log file
- From: Allen K. Smith
- RE: Sorting out of sequence log Apache log file
- Prev by Date: Re: Sorting out of sequence log Apache log file
- Next by Date: RE: Sorting out of sequence log Apache log file
- Previous by thread: Re: Sorting out of sequence log Apache log file
- Next by thread: RE: Sorting out of sequence log Apache log file
- Index(es):