🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: isu.cc.vincent
Article #1

Re: ? redirect a file opened in a fortran program

#1
From: Jan Bruun Andersen
Date: Mon, 06 Apr 1992 21:43
21 lines
1083 bytes
xmeng@iastate.edu (Xiong Meng) writes:

>A fortran program opens a file with open(iunit,file='aaa').
>How do I redirect file aaa to some other file, in particular
>/dev/null, in run time ?

>Thanks for your help.

Argh! Another FORTRAN programmer! (And ex VMS user??)

Sorry, I don't think you can do it. You might be able to create
an symbolic for 'aaa' pointing to /dev/null, but I wouldn't depend
on it.

>-- 
>Xiong Meng                         
>----------
>Department of Mathematics, Iowa State University, Ames, IA 50011
>phone: 	(O) 515-294-3562	(H) 515-292-3752              
-- 
Jan B. Andersen <jba@dat.ruc.dk>                 ("SIMULA does it with class")
Technical Details
Message-ID: <1992Apr6.214345.19569@ruc.dk>
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!sunic!dkuug!ruc.dk!jba
References: <xmeng.702291780@pv343e.vincent.iastate.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!sunic!dkuug!ruc.dk!jba
From: jba@ruc.dk (Jan Bruun Andersen)
Newsgroups: isu.cc.vincent,comp.unix.questions
Subject: Re: ? redirect a file opened in a fortran program
Message-ID: <1992Apr6.214345.19569@ruc.dk>
Date: 6 Apr 92 21:43:45 GMT
References: <xmeng.702291780@pv343e.vincent.iastate.edu>
Organization: Roskilde Universitetscenter, Danmark
Lines: 21