Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/26/83; site ihopb.UUCP Path: utzoo!linus!decvax!tektronix!uw-beaver!cornell!vax135!ariel!houti!hogpc!houxm!ihnp4!ihopb!spear From: spear@ihopb.UUCP Newsgroups: net.unix-wizards,btl.unix Subject: A question on input redirection Message-ID: <108@ihopb.UUCP> Date: Fri, 16-Sep-83 16:40:08 EDT Article-I.D.: ihopb.108 Posted: Fri Sep 16 16:40:08 1983 Date-Received: Sat, 17-Sep-83 21:59:54 EDT Organization: BTL Naperville, Il. Lines: 21 I have been trying to come up with a generalized way to direct input to a command such that it takes it's input from a file for a while and then begins taking input from the standard input (keyboard). I am interested in having a repetitive series of commands piped to a certain job after which I want to enter further commands from the keyboard. The problem normally encountered in any scheme I have tried is the reaching of end of file during the initial input which causes the command to terminate. I have tried various schemes of manipulating file descriptors with no success. Any suggestions would be greatly appreciated. Thanks in advances, Steven Spearman ihnp4!ihopb!spear