serverity 335961 normal
thanks

On Thu, Oct 27, 2005 at 12:45:05AM +0200, Eric Van Buggenhaut wrote:
Severity: important

No, it's not. Please don't abuse the BTS severities.

I have a crontab installed on a server that does that:
find $ORIGDIR -type f -exec stat -c "%n" {} \; |sort > $CURRENT_FILE

Why? That'll give the same output as find $ORIGDIR -type f |sort > $CURRENT_FILE
but with an extra process spawned for each filesystem entry.

Focusing on the filename (basename is the same), one day I get this sort:

anexo sobre el programa de trabjo infantil.doc
HISTORICO PROGRAMAS.doc
PROGRAMAS MEMORIA 2004.doc


And the next day I get that one:

HISTORICO PROGRAMAS.doc
PROGRAMAS MEMORIA 2004.doc
Proyectos A POR PROGRAMAS.xls
anexo sobre el programa de trabjo infantil.doc

How can it be that from one day to the other the file is sorted differently ??

If I had to guess I'd say that someone restarted cron and their
environment is different than the system default one. (I.e., either
their LANG is unset or set to C, or their LC_COLLATE is set to C.)

Mike Stone


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

Reply via email to