[net.micro.pc] Arrays as files

reb2@ihlpa.UUCP (Brown) (08/22/86)

*** REPLACE THIS LINE WITH YOUR MESSAGE ***

I would like to do the following:  1) Read an input file line
by line and save each line in an array (using an AWK-like
interface)  2) Then, within the same program, cause STDIN
to point to the array so that the program can read from STDIN
and get each of the saved input lines.

I can do #1, but I can't think of any way to do #2.  By the
way, this is all being done on a PC using Microsoft C.

I would greatly appreciate any help.  Thanks.

Rick Brown
 AT&T Bell Labs
 ihlpa!reb2