🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2461

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

#2461
From: Jonathan I. Kamens
Date: Fri, 22 Feb 1991 03:21
16 lines
1363 bytes
  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@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710
Technical Details
Message-ID: <1991Feb22.032127.27874@athena.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik
References: <1991Feb21.140918.1650@cs.utk.edu> <1991Feb21.172953.7488@cs.utk.edu> <1991Feb21.210305.7444@cs.utk.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik
From: jik@athena.mit.edu (Jonathan I. Kamens)
Newsgroups: comp.std.c,comp.lang.c
Subject: Re: HELP: ===> wildcard ===> filename listing
Message-ID: <1991Feb22.032127.27874@athena.mit.edu>
Date: 22 Feb 91 03:21:27 GMT
References: <1991Feb21.140918.1650@cs.utk.edu> <1991Feb21.172953.7488@cs.utk.edu> <1991Feb21.210305.7444@cs.utk.edu>
Sender: news@athena.mit.edu (News system)
Organization: Massachusetts Institute of Technology
Lines: 16