Temporary stdin redirect

Ron Ueberschaer x4399 ubi at ginger.sri.com
Tue Feb 5 07:33:57 AEST 1991


There ought to be a way to start a program off with stdin redirected
from a file, then take over from real stdin.  Does such a capability
exist in UNIX, preferably under csh?  This would be analogous to the
>> append syntax, e.g.

	foo << start.input

would use start.input until EOF, then act normally, reading the terminal
for remaining input.

--Ron Ueberschaer
  ubi at unix.sri.com
  ...!{hplabs,rutgers}!sri-unix!ubi



More information about the Comp.unix.questions mailing list