[Haskell-beginners] merge two files in to one file
Erik de Castro Lopo
mle+hs at mega-nerd.com
Thu Oct 6 03:43:59 CEST 2011
kolli kolli wrote:
> how to sort the values according to column or by date or by time or by
> alphabetical order
>
> * 3616 * 3556 2 11:49:43 /usr/bin/ps
> *3332* 2676 1 Jul 18 /usr/bin/bash
> *500* 2832 0 Jul 18 /usr/bin/bash
Unfortunately, that seems rather poorly formated and I susect
that rather than parsing that as text you would want to use
functions in System.Directory to read the directory into a
list of structs and then sort that.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the Beginners
mailing list