[Haskell-cafe] Perform a research a la Unix 'find'

Magnus Therning magnus at therning.org
Sun Aug 22 12:34:37 EDT 2010

On 22/08/10 16:32, Yves Parès wrote:
> Hello,
> I would like to recode in Haskell a piece of bash program that uses find.
> The advantage of find is that it is quite easy to use and fast.
> Is there a package that let us access to find-like functionnalities, with
> similar performances? Or at least some C functions that could be used
> through the FFI?
> (I would like to avoid to recur through directories and match files myself,
> I tried it and the search lasts for ages).

Take a look at HSH on hackage.  I've used that many times to inject some
sanity into stuff that I used to do with bash.


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org           Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100822/eae6c895/signature.bin

More information about the Haskell-Cafe mailing list