And, of course, just after I sent that I realized that sorting
by month is inherently locale-dependent (because the month names
are localized). So you really need to make sure that the sort
locale matches the language of the log files, and if both are C
the relevance of which syntax is used is greatly reduced.

Thanks, this was the key. Sorting by date doesn't seem to be
possible without setting "LC_ALL=C". The sticking point seems to
be the minute field.

LC_ALL is mentioned in the man and info pages, though the context,
"traditional behavior", is not enumerated.

Kudos to the engineer who grafted on this little bit of backwards
compatibility. Just wish more GNU coders recognized the importance of
backwards compatibility.  Why the behavior of "-M" was changed in the
first place is beyond me.

Roger Marquis


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to