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.

Small correction, setting LC_ALL is not always required in order
to use sort's "-M" with syslog datestamps, but it is when LANG is
both defined and defined as some value other than C. 4.0's
/etc/environment is where this was being set, to UTF-8.

Not sure why "sort -M" would differ between C and UTF8 but if
there is no reason this but bug report can be re-filed with GNU.

Roger Marquis


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

Reply via email to