Package: coreutils
Version: 5.2.1-2.1
Severity: important

I have a crontab installed on a server that does that:

find $ORIGDIR -type f -exec stat -c "%n" {} \; |sort > $CURRENT_FILE

It executes once a day.

Now from one day to the other, the sorting of sort varies !!

On Oct, 24 I got:

mekas:/mnt/disco2# grep -A5 -B5 '0405.*anexo sobre' 
ficheros_2005-10-24.txt
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0203cu ti ta.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0303Comunicado especial ACUERDOS CONTRAPARTES.eml
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/0410 doc programa myf.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/0411 carceles.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/0411 trabjo infantil.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/anexo sobre el programa de trabjo 
infantil.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/HISTORICO PROGRAMAS.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/PROGRAMAS MEMORIA 2004.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/Proyectos A POR PROGRAMAS.xls
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/BOLIVIA RESUMEN-.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/DESDE GUAYAQUIL.eml

(sorry for the long lines)

On Oct. 25, I get:

mekas:/mnt/disco2# grep -A5 -B5 '0405.*anexo sobre' ficheros_2005-10-25.txt
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/0411 carceles.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/0411 trabjo infantil.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/HISTORICO PROGRAMAS.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/PROGRAMAS MEMORIA 
2004.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/Proyectos A POR 
PROGRAMAS.xls
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/0405 programas/anexo sobre el programa de trabjo 
infantil.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/BOLIVIA RESUMEN-.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/DESDE GUAYAQUIL.eml
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/ECUADOR-RESUMEN.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/PROYECTOS A - MAYO 2002.doc
/home/admin/repositorio/Red/A-SOCIAL/0 ARCHIVOS/82 ARCHIVO 
PROPIO/822DESARROLLO/PROYECTOS PRESENTADOS Abril 2002.doc


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 ??

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13n
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages coreutils depends on:
ii  libacl1                       2.2.32-1   Access control list shared library
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an

coreutils recommends no packages.

-- no debconf information


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

Reply via email to