🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2458

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

#2458
From: Bryon S. Lape
Date: Thu, 21 Feb 1991 14:09
18 lines
1084 bytes
	I need to know who to get all the filenames that meet a given
wildcard in Unix from c.  For instance, say my programme my_foo will print
the contents of any file given and I type:

		my_foo *a*.c

	What I would like to get is all files with an a in them and an
extension of .c, and print them to stdout (not the same way pg or more
does, by the way).  How do I get a list of files meeting the passed
wildcard?  I have done this in Quick C but that was using none standard
funcs.


	Please e-mail responses.


Bryon
Technical Details
Message-ID: <1991Feb21.140918.1650@cs.utk.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!wuarchive!ukma!usenet.ins.cwru.edu!gatech!utkcs2!lape

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!wuarchive!ukma!usenet.ins.cwru.edu!gatech!utkcs2!lape
From: lape@cs.utk.edu (Bryon S. Lape)
Newsgroups: comp.std.c,comp.lang.c
Subject: HELP: ===> wildcard ===> filename listing
Message-ID: <1991Feb21.140918.1650@cs.utk.edu>
Date: 21 Feb 91 14:09:18 GMT
Sender: usenet@cs.utk.edu (USENET News Poster)
Organization: University of Tennessee, Knoxville - CS Department
Lines: 18
Originator: lape@hydra1a.cs.utk.edu