Mail Archives: djgpp-workers/1999/02/17/20:18:26
Dear Tom St. Denis,
On 02-17-99 at 16:01:39 EST you wrote:
> (This is a little OT)
>
> What is the ANSI C equivelant of 'find_first()' for finding files that
> match a pattern. I am writing a tool (in DJGPP) which must run in
> ms-dos and unix platforms.
>
I, too, am working on such a utility. But, I am not stuck with ANSI C.
At the moment I'm using _dos_findfirst() etc. The program digs around
in files, including zip, arc, zoo (and more) archive files, looking for
matches. At the moment it will handle only specific file names. When
I get far enough along, I'll probably resort to using lex to do pattern
matching.
K.B. Williams
- Raw text -