Thanks for the HSH link, Magnus.<br><br>Concerning FileManip, it seems that I can't perform easily a case-insensitive search (for instance with find, you just use -iname instead of -name). Am I wrong?<br><br><br><div class="gmail_quote">
2010/8/22 Magnus Therning <span dir="ltr"><<a href="mailto:magnus@therning.org">magnus@therning.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On 22/08/10 16:32, Yves Parès wrote:<br>
> Hello,<br>
><br>
> I would like to recode in Haskell a piece of bash program that uses find.<br>
> The advantage of find is that it is quite easy to use and fast.<br>
> Is there a package that let us access to find-like functionnalities, with<br>
> similar performances? Or at least some C functions that could be used<br>
> through the FFI?<br>
> (I would like to avoid to recur through directories and match files myself,<br>
> I tried it and the search lasts for ages).<br>
<br>
</div></div>Take a look at HSH on hackage. I've used that many times to inject some<br>
sanity into stuff that I used to do with bash.<br>
<br>
/M<br>
<font color="#888888"><br>
--<br>
Magnus Therning (OpenPGP: 0xAB4DFBA4)<br>
magnus@therning.org Jabber: magnus@therning.org<br>
<a href="http://therning.org/magnus" target="_blank">http://therning.org/magnus</a> <a href="http://identi.ca" target="_blank">identi.ca</a>|twitter: magthe<br>
<br>
</font><br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br>