Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ucbvax!ucsfcgl!alonso From: alonso@ucsfcgl.UUCP Newsgroups: comp.lang.fortran,comp.unix.questions Subject: system calls from fortran Message-ID: <10029@cgl.ucsf.edu.ucsfcgl.UUCP> Date: Sat, 24-Jan-87 16:18:02 EST Article-I.D.: cgl.10029 Posted: Sat Jan 24 16:18:02 1987 Date-Received: Sat, 24-Jan-87 23:49:33 EST Organization: UCSF Computer Graphics Lab Lines: 23 Keywords: f77, BSD4.3 Xref: watmath comp.lang.fortran:57 comp.unix.questions:780 Running under BSD4.3 using f77 is there a standard way to make system calls. In pseudo code an example of what I want to do is the following: if (some condition) !system call! rm some.file option to return to program end if That would be one example. Another would be: !system call! ls > temp open(1,file='tmp') read(1,a70)line1 . . Reply to the net is fine. Thanks in advance, Darwin Alonso Univ. Calif. San Francisco