Partial redirection??

D'Arcy J.M. Cain darcy at druid.uucp
Fri Mar 22 10:57:58 AEST 1991


In article <1053 at creatures.cs.vt.edu> lavinus at csgrad.cs.vt.edu () writes:
>I want the process to take its input from 'filename' until EOF, and then
>accept input from stdin.

cat filename - | program

Or if the program supports "-" in its list of input files then:

program filename -

-- 
D'Arcy J.M. Cain (darcy at druid)     |
D'Arcy Cain Consulting             |   There's no government
Toronto, Ontario, Canada           |   like no government!
+1 416 424 2871                    |



More information about the Comp.unix.shell mailing list