Re: [PATCH] Makes sort create random order

2004-09-06 Thread Thomas Habets
onality in another program (written in C anyway). It would be good to not have to write that little shell-magic every time, nice as it may be. - typedef struct me_s { char name[] = { "Thomas Habets" }; char email[] = { "[EMAIL PROTECTED]" }; char kernel[]

Re: [PATCH] Makes sort create random order

2004-09-02 Thread Thomas Habets
ven then same input (where input is input and cmdline), but I guess that's obvious. Oh, and Paul Jarc: "if you sort a permutation of the same input file [...] twice" was supposed to read "if you sort two different permutations of the same input file&quo

Re: [PATCH] Makes sort create random order

2004-08-28 Thread Thomas Habets
r "unpredictable"? Also, should "deteministic" here mean that it should now, and forever, and on all architectures, work the same? If the latter, and especially if the former, then some thinking will have to go into it. But except for writing the PRNG, everything else is triv

Re: [PATCH] Makes sort create random order

2004-08-28 Thread Thomas Habets
nfo files makes me dizzy. I changed the manpage, but not the texi-page. (I didn't mention this in the last mail since I didn't find one. It didn't occur to me that it'd be in coreutils.texi, and not named "sort.texi") - - typedef struct me_s

[PATCH] Makes sort create random order

2004-08-25 Thread Thomas Habets
amelessly added myself to THANKS. Note that I use rand() and srand(), if that matters on some OS. Be good. - ----- typedef struct me_s { char name[] = { "Thomas Habets" }; char email[] = { "[EMAIL PROTECTED]" }; char kernel[]= { "Linux 2.4&quo