[ksh93-integration-discuss] libfind ready for external tests

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Thu Feb 22 02:31:31 PST 2007


I did just publish a libfind that may be used as 100% reentrant
find(1) replacement. 

The new entry point: b_find(int argc, char ** argv, void * dummy)
should be compatible to the ksh93 builtin command interface.

If you call b_find(), libfind grants to never call exit() but returns:

0	no problem was found

-1	Command line or usage error

errno	the errno that caused the problem


It would be nice if someone could test libfind as ksh93 builtin.

If the first test works, I would like to create a callback interface
(e.g. "find . -call test <test-expression> {} \;") that allows
libfind to efficiently call builtins from the shell.

fetch:

ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a24-pre5.tar.bz2

call
	"make LINKMODE=dynamic install" 
or
	"make INS_BASE=<install-base> LINKMODE=dynamic install"

Note that you need to set the right INS_BASE before compilation.

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



More information about the ksh93-integration-discuss mailing list