delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/17/20:18:26

From: Kbwms AT aol DOT com
Message-ID: <f705a010.36cb68fa@aol.com>
Date: Wed, 17 Feb 1999 20:12:26 EST
To: Tom St Denis <tomstdenis AT goplay DOT com>
Cc: djgpp-workers AT delorie DOT com
Mime-Version: 1.0
Subject: Re: find_first
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019