From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,6e3662e9fbe1b7e8,start X-Google-Attributes: gidf678f,public From: Erik Johansson Subject: How do I redirect standard input to a mixed cc/f77 program ? Date: 1996/08/01 Message-ID: <320094E4.7405@senet.abb.se>#1/1 X-Deja-AN: 172657953 content-type: text/plain; charset=us-ascii organization: ABB Network Partner AB mime-version: 1.0 newsgroups: comp.unix.osf.misc x-mailer: Mozilla 3.0b5aGold (WinNT; I) I have this program that read user input from both C and FORTRAN using gets() and READ(*,*). I would like to redirect the input to this program from a single file in ksh, but redirecting stdin just works for the C part (gets()). Any ideas ? I run Digital UNIX v3.2c and DEC Fortran v3.6, and gratefully accepts all suggestions. Pre-Thanks, Erik