How can I read from a file in the csh (or tcsh)?

Michael S. Fagan fagan at green.cs.wisc.edu
Tue Jun 4 07:14:19 AEST 1991


Hi,

How can I read from a file in the csh (or tcsh) from within a script?
I can do it from standard input by saying:

set temp = $<

but, I can't seem to figure out how to do it from a file other than
having the file redirected as input.

Thanks,

Mike			(fagan at cs.wisc.edu)



More information about the Comp.unix.shell mailing list