Temporary stdin redirect

Doug Gwyn gwyn at smoke.brl.mil
Tue Feb 5 09:53:15 AEST 1991


In article <20798 at unix.SRI.COM> ubi at ginger.sri.com (Ron Ueberschaer x4399) writes:
>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?

The standard UNIX idiom for this is "cat file - | command".



More information about the Comp.unix.questions mailing list