From: Kbwms AT aol DOT com Message-ID: Date: Wed, 17 Feb 1999 20:12:26 EST To: Tom St Denis Cc: djgpp-workers AT delorie DOT com Mime-Version: 1.0 Subject: Re: find_first Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Mailer: AOL 3.0 16-bit for Windows sub 38 Reply-To: djgpp-workers AT delorie DOT com 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