Re: gsearchtool




> I didn't do this with vfs for several reasons ... doing it with vfs would
> require me to basically write a vfs version of find and [ef]?grep ... or
> include hacked versions with the app (which is still an option I guess) ....

Look at how the Midnight Commander does it.  The find module is pretty
small: mc/src/find.c.  You use vfs for scanning the contents and for
opening and reading the file contents.  Then you use a pipe setup to
feed the information to [ef]?grep.

Miguel.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]