Your message dated Sat, 22 Dec 2007 15:10:10 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #457450,
regarding unsort: In "random" mode, always sorts a 2-line file in the same way
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
--- Begin Message ---
Package: unsort
Version: 1.0.2-1
Severity: normal
Hi,
I took a look at the program and figured out that the "randomization
based on a good PRNG" mode is not very random. As a symptom of the
problem, it always orders a 2-line file in the same way:
------------------------------------------------------------
$ (for ((i=0; i<1000; i++)); do echo -e 'foo\nbar' |unsort -r |md5sum; done)
|sort |uniq
ec3df4034567e59e119fcf87f2d9bad4 -
------------------------------------------------------------
Sami
-- System Information: Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23.8-sli (PREEMPT)
Locale: LANG=C, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages unsort depends on:
ii libc6 2.7-5 GNU C Library: Shared libraries
unsort recommends no packages.
-- no debconf information
signature.asc
Description: Digital signature
--- End Message ---
signature.asc
Description: Digital signature
--- End Message ---