[Shootout-list] word-frequency

Eric Lavigne Eric Lavigne <lavigne.eric@gmail.com>
Sun, 19 Jun 2005 14:55:26 +0000


> > Question: wouldn't it be more telling about the power of a language, if=
 the
> > natural ordering (decreasing word frequency, correct alphabetical order=
)
> > was required?  Why should one contort a good test for allowing a kludge=
?
>
> yes it would be more telling. and it would make it more educational to
> look at the source.
>
> as an answer to your question ''why'', i seem to remember a little
> comment about this test that said that the somewhat unintuitive ordering
> was due to the result from the unix pipe used in the bash
> implementation. all others have suffer because of this. i can not find
> the comment again, and thus might be wrong. if it is the only reason i
> can do a slightly more complex pipe that does the right thing.
>

I saw some mention of a bash implementation on the word-frequency
page, but I didn't see the bash implementation on the list of
contributions. Where is it?

Eric