Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!amdahl!amdcad!katel From: katel@amdcad.AMD.COM (Kate Lowenstein) Newsgroups: comp.lang.fortran Subject: script for interactive fortran test Keywords: script shell fortran fcvs test interactive Message-ID: <21661@amdcad.AMD.COM> Date: 17 May 88 23:12:43 GMT Organization: Advanced Micro Devices, Inc., Sunnyvale, Ca. Lines: 23 Has anyone written a shell script to run the Fortran FCVS interactive test of PAUSE and STOP (test FM257). I am attempting to write a Bourne shell script to provide the answers required by the test, instead of having to type in 'go' five times myself -- my philosophy is to make the computer do the work, not me. However, I have so far been unsuccessful in my attempt. It seems that the system reacts different when the binary is run directly or from a script. I I am trying to use a here document to provide the 'go's but the binary seems to ignore it and instead wants me to type in a 'kill -15 xxxxx'. I'm sure this is a problem with the interaction between Fortran and UNIX, but I keep thinking there must be a way to do this, but so far, I seem to be hitting my head on a brick wall. Any ideas will be appreciated. I have posted this question (slightly differently worded) to comp.unix.wizards, and have tried all their suggestions that were posted to me. Nothing has worked. Thanks very much, Kate