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

Bryon S. Lape lape at cs.utk.edu
Fri Feb 22 01:09:18 AEST 1991


	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



More information about the Comp.lang.c mailing list