HELP: ===> wildcard ===> filename listing

Jonathan I. Kamens jik at athena.mit.edu
Fri Feb 22 14:21:27 AEST 1991


  Yes, of course it's possible to do the matching in C.  After all, the code
in the shells that does it is written in C.

  Rich Salz has posted to the net a pattern matching function that behaves as
the shell pattern matching.  You can find it in alt.sources archives.  You can
also find it in the sources to GNU tar, so if you ftp the sources to GNU tar
from any GNU archive site, you should be all set.  There's also a globbing
function written by RMS in the bash sources, but it's under the GPL, so if you
don't want to put your code under the GPL, you shouldn't use it.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710



More information about the Comp.std.c mailing list