[Haskell-cafe] Re: wanted: haskell one-liners (in the perl sense of one-liners)

Dougal Stanton ithika at gmail.com
Tue Mar 20 08:23:53 EDT 2007


Quoth Thomas Hartman, nevermore,
> This takes a long file containing mostly numerical data, filters out
> the numerical data, and sorts it numerically. (Not the same thing as
> sorting alphabetically, which is what you get by default, or using the
> unix sort utility). Maybe there's some flag to make unix sort util act
> like this? Enh, who cares, now we have haskell. :)

Alas, foiled again! ;-)

sort flag:

 -n, --numeric-sort

D.
-- 
Dougal Stanton


More information about the Haskell-Cafe mailing list