How to run fortran77 program with inputs from file?Read Multiple Entries from an Input FileBash script to convert the 2nd column in csv file from Unix time to readable date / timeextract columns from TRUE/FALSE matrix based on proportion of TRUE values within the columnHow send multiple command as input in a program?How may I generalize an awk command into a script? (extracting/rearranging columns from file)How to read a file with two columns into a script so that each line read as two variables

Responsibility for arrangement of elements - frontend or backend?

Would the professor leave the classroom if only 1 student uses their cellphone during class?

Pass variable to sed and change backslash to forward slash

Artificially isolated pawn in the Caro-Kann

What elements would be created in a star composed entirely of gold?

Employer says they want Quality & Quantity, but only pays bonuses based on the latter

"Du hast es gut", small talk meaning?

Is it possible to commute 34 km (21 miles) daily?

Is there an in-setting explanation for how dragons breathe fire?

Can Tankless & Conventional water heaters Join forces?

What term can we propose for someone who prioritizes equipment over musicianship?

Can you identify this fighter aircraft?

Is a for loop using arrays better than using field splitting on a simple variable?

What is a Spaceman Word™?

How does kinetic energy work in braking a vehicle?

What do you call this when cats hunch their backs and their fur stands on end?

Why is more music written in sharp keys than flat keys?

instead of pressurizing an entire spacesuit with oxygen could oxygen just pressurize the head and the rest of the body be pressurized with water?

The professor for one of my classes has no direction

What does /r mean in a score?

Scrum Team and Product Owner working against each other

Does animal blood, esp. human, really have similar salinity as ocean water, and does that prove anything about evolution?

How much caffeine would there be if I reuse tea leaves in a second brewing?

How did the people of Zion never find evidence of the previous cycles?



How to run fortran77 program with inputs from file?


Read Multiple Entries from an Input FileBash script to convert the 2nd column in csv file from Unix time to readable date / timeextract columns from TRUE/FALSE matrix based on proportion of TRUE values within the columnHow send multiple command as input in a program?How may I generalize an awk command into a script? (extracting/rearranging columns from file)How to read a file with two columns into a script so that each line read as two variables






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









7

















I run fortran77 program in terminal



./program


and the program ask for input and output file. What should I write to terminal when I have the names of input and output files in a file - in two columns? I would like to run the program for all rows in the file with names.



Or - how to run a program with input information like parameters?



Or how to write the name of file direct in script? Instead of



READ(+,'(A)') OUT









share|improve this question




























  • How to write it in code please? Instead of READ(+,'(A)') IN and READ(+,'(A)') OUT

    – Arrara
    Oct 13 at 15:10

















7

















I run fortran77 program in terminal



./program


and the program ask for input and output file. What should I write to terminal when I have the names of input and output files in a file - in two columns? I would like to run the program for all rows in the file with names.



Or - how to run a program with input information like parameters?



Or how to write the name of file direct in script? Instead of



READ(+,'(A)') OUT









share|improve this question




























  • How to write it in code please? Instead of READ(+,'(A)') IN and READ(+,'(A)') OUT

    – Arrara
    Oct 13 at 15:10













7












7








7


1






I run fortran77 program in terminal



./program


and the program ask for input and output file. What should I write to terminal when I have the names of input and output files in a file - in two columns? I would like to run the program for all rows in the file with names.



Or - how to run a program with input information like parameters?



Or how to write the name of file direct in script? Instead of



READ(+,'(A)') OUT









share|improve this question

















I run fortran77 program in terminal



./program


and the program ask for input and output file. What should I write to terminal when I have the names of input and output files in a file - in two columns? I would like to run the program for all rows in the file with names.



Or - how to run a program with input information like parameters?



Or how to write the name of file direct in script? Instead of



READ(+,'(A)') OUT






bash shell fortran






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Oct 14 at 1:54









Peter Cordes

4,81516 silver badges35 bronze badges




4,81516 silver badges35 bronze badges










asked Oct 13 at 15:01









ArraraArrara

496 bronze badges




496 bronze badges















  • How to write it in code please? Instead of READ(+,'(A)') IN and READ(+,'(A)') OUT

    – Arrara
    Oct 13 at 15:10

















  • How to write it in code please? Instead of READ(+,'(A)') IN and READ(+,'(A)') OUT

    – Arrara
    Oct 13 at 15:10
















How to write it in code please? Instead of READ(+,'(A)') IN and READ(+,'(A)') OUT

– Arrara
Oct 13 at 15:10





How to write it in code please? Instead of READ(+,'(A)') IN and READ(+,'(A)') OUT

– Arrara
Oct 13 at 15:10










2 Answers
2






active

oldest

votes


















8


















I made the following program file prog.f



 program test

character IN*30,OUT*30,line*80

PRINT *,'Input file '
READ(*,'(A)') IN
OPEN(1,FILE=IN,STATUS='OLD')
PRINT *,'Output file?'
READ(*,'(A)') OUT
OPEN(2,FILE=OUT,STATUS='NEW',BLANK='ZERO')


read (1,'(a80)') line
write (2,*) "I read ", line
end


compiled & linked it with



gfortran prog.f -o prog


I put a text string into an input file



echo "Hello World" > in


Then I sent the names of the input file in and output file out to the program



$ <<< 'in
out' ./prog
Input file
Output file?


and checked the output file



$ cat out
I read Hello World


<<< works in bash. You may prefer piping from echo which is more portable,



$ rm out
rm: remove normal file 'out'? y

$ echo 'in
out' | ./prog
Input file
Output file?
$ cat out
I read Hello World





share|improve this answer























  • 1





    Interesting! And this outta space file arguments...has to be so in fortran? "cpio" is similar, but at least the output you can give seperately. And here: "<inoutfiles ./prog" does not work? With "inoutfiles" containing the lines "in" and "out", "in" containing the data and "out" being a path. My brain hurts.

    – rastafile
    Oct 13 at 17:06






  • 1





    @rastafile, It is possible to make fortran read from standard input and write to standard output, at least with some modern versions. In this case redirection is possible as you suggest.

    – sudodus
    Oct 13 at 17:09







  • 1





    Thank you very much

    – Arrara
    Oct 13 at 17:16






  • 1





    I have a slight dejavu -- I think I read something about that special fortran style long time ago. Now it "hit" me. Nice!

    – rastafile
    Oct 13 at 17:18






  • 2





    @Arrara, You are welcome :-)

    – sudodus
    Oct 13 at 17:22


















4


















If you are lucky then maybe



<infile ./program >outfile


will work. Redirection to give a filedescriptor. Options/arguments???




While we earthlings write something like...



$ <77in cat >77.out
$ cat 77in >77.out


(This copies just 77in to 77.out)



...this Fortran77 program/command wanted it's operands linewise in one input file/stream:



$ <77.io cat
77in
77.out


Now if cat was something else it would parse first line as input file (containing "hellonworld" eg.) and the second as file to create.



And that is just the newer, easy way it seems...




Instead of a long argument list like cp -a dir1 dir2 dest it is <in_list cpa77.



But then you need an additional file...just like modern cpio does:



<filelist cpio -o >files.cpio. Of course cpio just needs STDIN linewise:



find . | cpio -o >files.cpio



(cpio has this special call syntax because of its functioning, working with many files. It is one command and a half. Same for tar, in a different way)



If anything is typical of unix, then it is this flexibility in feeding control and data to commands in the shell. As I commented: good Q after all! (Thx to accepted answer!)






share|improve this answer




























  • Should I replace -o1 -o2?

    – Arrara
    Oct 13 at 15:27











  • @Arrara Yes, I just saw you wrote "parameters". Now these things overlap. A call with argument "-V" as option for "print version" for example.

    – rastafile
    Oct 13 at 15:35











  • I am sorry, I ment output and input as parameters. When I write <infile ./program >outfile it does not work

    – Arrara
    Oct 13 at 15:37











  • ...because the correct options are missing.

    – rastafile
    Oct 13 at 15:40











  • What are options please?

    – Arrara
    Oct 13 at 15:41












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f546596%2fhow-to-run-fortran77-program-with-inputs-from-file%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









8


















I made the following program file prog.f



 program test

character IN*30,OUT*30,line*80

PRINT *,'Input file '
READ(*,'(A)') IN
OPEN(1,FILE=IN,STATUS='OLD')
PRINT *,'Output file?'
READ(*,'(A)') OUT
OPEN(2,FILE=OUT,STATUS='NEW',BLANK='ZERO')


read (1,'(a80)') line
write (2,*) "I read ", line
end


compiled & linked it with



gfortran prog.f -o prog


I put a text string into an input file



echo "Hello World" > in


Then I sent the names of the input file in and output file out to the program



$ <<< 'in
out' ./prog
Input file
Output file?


and checked the output file



$ cat out
I read Hello World


<<< works in bash. You may prefer piping from echo which is more portable,



$ rm out
rm: remove normal file 'out'? y

$ echo 'in
out' | ./prog
Input file
Output file?
$ cat out
I read Hello World





share|improve this answer























  • 1





    Interesting! And this outta space file arguments...has to be so in fortran? "cpio" is similar, but at least the output you can give seperately. And here: "<inoutfiles ./prog" does not work? With "inoutfiles" containing the lines "in" and "out", "in" containing the data and "out" being a path. My brain hurts.

    – rastafile
    Oct 13 at 17:06






  • 1





    @rastafile, It is possible to make fortran read from standard input and write to standard output, at least with some modern versions. In this case redirection is possible as you suggest.

    – sudodus
    Oct 13 at 17:09







  • 1





    Thank you very much

    – Arrara
    Oct 13 at 17:16






  • 1





    I have a slight dejavu -- I think I read something about that special fortran style long time ago. Now it "hit" me. Nice!

    – rastafile
    Oct 13 at 17:18






  • 2





    @Arrara, You are welcome :-)

    – sudodus
    Oct 13 at 17:22















8


















I made the following program file prog.f



 program test

character IN*30,OUT*30,line*80

PRINT *,'Input file '
READ(*,'(A)') IN
OPEN(1,FILE=IN,STATUS='OLD')
PRINT *,'Output file?'
READ(*,'(A)') OUT
OPEN(2,FILE=OUT,STATUS='NEW',BLANK='ZERO')


read (1,'(a80)') line
write (2,*) "I read ", line
end


compiled & linked it with



gfortran prog.f -o prog


I put a text string into an input file



echo "Hello World" > in


Then I sent the names of the input file in and output file out to the program



$ <<< 'in
out' ./prog
Input file
Output file?


and checked the output file



$ cat out
I read Hello World


<<< works in bash. You may prefer piping from echo which is more portable,



$ rm out
rm: remove normal file 'out'? y

$ echo 'in
out' | ./prog
Input file
Output file?
$ cat out
I read Hello World





share|improve this answer























  • 1





    Interesting! And this outta space file arguments...has to be so in fortran? "cpio" is similar, but at least the output you can give seperately. And here: "<inoutfiles ./prog" does not work? With "inoutfiles" containing the lines "in" and "out", "in" containing the data and "out" being a path. My brain hurts.

    – rastafile
    Oct 13 at 17:06






  • 1





    @rastafile, It is possible to make fortran read from standard input and write to standard output, at least with some modern versions. In this case redirection is possible as you suggest.

    – sudodus
    Oct 13 at 17:09







  • 1





    Thank you very much

    – Arrara
    Oct 13 at 17:16






  • 1





    I have a slight dejavu -- I think I read something about that special fortran style long time ago. Now it "hit" me. Nice!

    – rastafile
    Oct 13 at 17:18






  • 2





    @Arrara, You are welcome :-)

    – sudodus
    Oct 13 at 17:22













8














8










8









I made the following program file prog.f



 program test

character IN*30,OUT*30,line*80

PRINT *,'Input file '
READ(*,'(A)') IN
OPEN(1,FILE=IN,STATUS='OLD')
PRINT *,'Output file?'
READ(*,'(A)') OUT
OPEN(2,FILE=OUT,STATUS='NEW',BLANK='ZERO')


read (1,'(a80)') line
write (2,*) "I read ", line
end


compiled & linked it with



gfortran prog.f -o prog


I put a text string into an input file



echo "Hello World" > in


Then I sent the names of the input file in and output file out to the program



$ <<< 'in
out' ./prog
Input file
Output file?


and checked the output file



$ cat out
I read Hello World


<<< works in bash. You may prefer piping from echo which is more portable,



$ rm out
rm: remove normal file 'out'? y

$ echo 'in
out' | ./prog
Input file
Output file?
$ cat out
I read Hello World





share|improve this answer
















I made the following program file prog.f



 program test

character IN*30,OUT*30,line*80

PRINT *,'Input file '
READ(*,'(A)') IN
OPEN(1,FILE=IN,STATUS='OLD')
PRINT *,'Output file?'
READ(*,'(A)') OUT
OPEN(2,FILE=OUT,STATUS='NEW',BLANK='ZERO')


read (1,'(a80)') line
write (2,*) "I read ", line
end


compiled & linked it with



gfortran prog.f -o prog


I put a text string into an input file



echo "Hello World" > in


Then I sent the names of the input file in and output file out to the program



$ <<< 'in
out' ./prog
Input file
Output file?


and checked the output file



$ cat out
I read Hello World


<<< works in bash. You may prefer piping from echo which is more portable,



$ rm out
rm: remove normal file 'out'? y

$ echo 'in
out' | ./prog
Input file
Output file?
$ cat out
I read Hello World






share|improve this answer















share|improve this answer




share|improve this answer








edited Oct 14 at 6:26

























answered Oct 13 at 16:31









sudodussudodus

2,2845 silver badges10 bronze badges




2,2845 silver badges10 bronze badges










  • 1





    Interesting! And this outta space file arguments...has to be so in fortran? "cpio" is similar, but at least the output you can give seperately. And here: "<inoutfiles ./prog" does not work? With "inoutfiles" containing the lines "in" and "out", "in" containing the data and "out" being a path. My brain hurts.

    – rastafile
    Oct 13 at 17:06






  • 1





    @rastafile, It is possible to make fortran read from standard input and write to standard output, at least with some modern versions. In this case redirection is possible as you suggest.

    – sudodus
    Oct 13 at 17:09







  • 1





    Thank you very much

    – Arrara
    Oct 13 at 17:16






  • 1





    I have a slight dejavu -- I think I read something about that special fortran style long time ago. Now it "hit" me. Nice!

    – rastafile
    Oct 13 at 17:18






  • 2





    @Arrara, You are welcome :-)

    – sudodus
    Oct 13 at 17:22












  • 1





    Interesting! And this outta space file arguments...has to be so in fortran? "cpio" is similar, but at least the output you can give seperately. And here: "<inoutfiles ./prog" does not work? With "inoutfiles" containing the lines "in" and "out", "in" containing the data and "out" being a path. My brain hurts.

    – rastafile
    Oct 13 at 17:06






  • 1





    @rastafile, It is possible to make fortran read from standard input and write to standard output, at least with some modern versions. In this case redirection is possible as you suggest.

    – sudodus
    Oct 13 at 17:09







  • 1





    Thank you very much

    – Arrara
    Oct 13 at 17:16






  • 1





    I have a slight dejavu -- I think I read something about that special fortran style long time ago. Now it "hit" me. Nice!

    – rastafile
    Oct 13 at 17:18






  • 2





    @Arrara, You are welcome :-)

    – sudodus
    Oct 13 at 17:22







1




1





Interesting! And this outta space file arguments...has to be so in fortran? "cpio" is similar, but at least the output you can give seperately. And here: "<inoutfiles ./prog" does not work? With "inoutfiles" containing the lines "in" and "out", "in" containing the data and "out" being a path. My brain hurts.

– rastafile
Oct 13 at 17:06





Interesting! And this outta space file arguments...has to be so in fortran? "cpio" is similar, but at least the output you can give seperately. And here: "<inoutfiles ./prog" does not work? With "inoutfiles" containing the lines "in" and "out", "in" containing the data and "out" being a path. My brain hurts.

– rastafile
Oct 13 at 17:06




1




1





@rastafile, It is possible to make fortran read from standard input and write to standard output, at least with some modern versions. In this case redirection is possible as you suggest.

– sudodus
Oct 13 at 17:09






@rastafile, It is possible to make fortran read from standard input and write to standard output, at least with some modern versions. In this case redirection is possible as you suggest.

– sudodus
Oct 13 at 17:09





1




1





Thank you very much

– Arrara
Oct 13 at 17:16





Thank you very much

– Arrara
Oct 13 at 17:16




1




1





I have a slight dejavu -- I think I read something about that special fortran style long time ago. Now it "hit" me. Nice!

– rastafile
Oct 13 at 17:18





I have a slight dejavu -- I think I read something about that special fortran style long time ago. Now it "hit" me. Nice!

– rastafile
Oct 13 at 17:18




2




2





@Arrara, You are welcome :-)

– sudodus
Oct 13 at 17:22





@Arrara, You are welcome :-)

– sudodus
Oct 13 at 17:22













4


















If you are lucky then maybe



<infile ./program >outfile


will work. Redirection to give a filedescriptor. Options/arguments???




While we earthlings write something like...



$ <77in cat >77.out
$ cat 77in >77.out


(This copies just 77in to 77.out)



...this Fortran77 program/command wanted it's operands linewise in one input file/stream:



$ <77.io cat
77in
77.out


Now if cat was something else it would parse first line as input file (containing "hellonworld" eg.) and the second as file to create.



And that is just the newer, easy way it seems...




Instead of a long argument list like cp -a dir1 dir2 dest it is <in_list cpa77.



But then you need an additional file...just like modern cpio does:



<filelist cpio -o >files.cpio. Of course cpio just needs STDIN linewise:



find . | cpio -o >files.cpio



(cpio has this special call syntax because of its functioning, working with many files. It is one command and a half. Same for tar, in a different way)



If anything is typical of unix, then it is this flexibility in feeding control and data to commands in the shell. As I commented: good Q after all! (Thx to accepted answer!)






share|improve this answer




























  • Should I replace -o1 -o2?

    – Arrara
    Oct 13 at 15:27











  • @Arrara Yes, I just saw you wrote "parameters". Now these things overlap. A call with argument "-V" as option for "print version" for example.

    – rastafile
    Oct 13 at 15:35











  • I am sorry, I ment output and input as parameters. When I write <infile ./program >outfile it does not work

    – Arrara
    Oct 13 at 15:37











  • ...because the correct options are missing.

    – rastafile
    Oct 13 at 15:40











  • What are options please?

    – Arrara
    Oct 13 at 15:41















4


















If you are lucky then maybe



<infile ./program >outfile


will work. Redirection to give a filedescriptor. Options/arguments???




While we earthlings write something like...



$ <77in cat >77.out
$ cat 77in >77.out


(This copies just 77in to 77.out)



...this Fortran77 program/command wanted it's operands linewise in one input file/stream:



$ <77.io cat
77in
77.out


Now if cat was something else it would parse first line as input file (containing "hellonworld" eg.) and the second as file to create.



And that is just the newer, easy way it seems...




Instead of a long argument list like cp -a dir1 dir2 dest it is <in_list cpa77.



But then you need an additional file...just like modern cpio does:



<filelist cpio -o >files.cpio. Of course cpio just needs STDIN linewise:



find . | cpio -o >files.cpio



(cpio has this special call syntax because of its functioning, working with many files. It is one command and a half. Same for tar, in a different way)



If anything is typical of unix, then it is this flexibility in feeding control and data to commands in the shell. As I commented: good Q after all! (Thx to accepted answer!)






share|improve this answer




























  • Should I replace -o1 -o2?

    – Arrara
    Oct 13 at 15:27











  • @Arrara Yes, I just saw you wrote "parameters". Now these things overlap. A call with argument "-V" as option for "print version" for example.

    – rastafile
    Oct 13 at 15:35











  • I am sorry, I ment output and input as parameters. When I write <infile ./program >outfile it does not work

    – Arrara
    Oct 13 at 15:37











  • ...because the correct options are missing.

    – rastafile
    Oct 13 at 15:40











  • What are options please?

    – Arrara
    Oct 13 at 15:41













4














4










4









If you are lucky then maybe



<infile ./program >outfile


will work. Redirection to give a filedescriptor. Options/arguments???




While we earthlings write something like...



$ <77in cat >77.out
$ cat 77in >77.out


(This copies just 77in to 77.out)



...this Fortran77 program/command wanted it's operands linewise in one input file/stream:



$ <77.io cat
77in
77.out


Now if cat was something else it would parse first line as input file (containing "hellonworld" eg.) and the second as file to create.



And that is just the newer, easy way it seems...




Instead of a long argument list like cp -a dir1 dir2 dest it is <in_list cpa77.



But then you need an additional file...just like modern cpio does:



<filelist cpio -o >files.cpio. Of course cpio just needs STDIN linewise:



find . | cpio -o >files.cpio



(cpio has this special call syntax because of its functioning, working with many files. It is one command and a half. Same for tar, in a different way)



If anything is typical of unix, then it is this flexibility in feeding control and data to commands in the shell. As I commented: good Q after all! (Thx to accepted answer!)






share|improve this answer
















If you are lucky then maybe



<infile ./program >outfile


will work. Redirection to give a filedescriptor. Options/arguments???




While we earthlings write something like...



$ <77in cat >77.out
$ cat 77in >77.out


(This copies just 77in to 77.out)



...this Fortran77 program/command wanted it's operands linewise in one input file/stream:



$ <77.io cat
77in
77.out


Now if cat was something else it would parse first line as input file (containing "hellonworld" eg.) and the second as file to create.



And that is just the newer, easy way it seems...




Instead of a long argument list like cp -a dir1 dir2 dest it is <in_list cpa77.



But then you need an additional file...just like modern cpio does:



<filelist cpio -o >files.cpio. Of course cpio just needs STDIN linewise:



find . | cpio -o >files.cpio



(cpio has this special call syntax because of its functioning, working with many files. It is one command and a half. Same for tar, in a different way)



If anything is typical of unix, then it is this flexibility in feeding control and data to commands in the shell. As I commented: good Q after all! (Thx to accepted answer!)







share|improve this answer















share|improve this answer




share|improve this answer








edited Oct 14 at 6:34

























answered Oct 13 at 15:18









rastafilerastafile

3777 bronze badges




3777 bronze badges















  • Should I replace -o1 -o2?

    – Arrara
    Oct 13 at 15:27











  • @Arrara Yes, I just saw you wrote "parameters". Now these things overlap. A call with argument "-V" as option for "print version" for example.

    – rastafile
    Oct 13 at 15:35











  • I am sorry, I ment output and input as parameters. When I write <infile ./program >outfile it does not work

    – Arrara
    Oct 13 at 15:37











  • ...because the correct options are missing.

    – rastafile
    Oct 13 at 15:40











  • What are options please?

    – Arrara
    Oct 13 at 15:41

















  • Should I replace -o1 -o2?

    – Arrara
    Oct 13 at 15:27











  • @Arrara Yes, I just saw you wrote "parameters". Now these things overlap. A call with argument "-V" as option for "print version" for example.

    – rastafile
    Oct 13 at 15:35











  • I am sorry, I ment output and input as parameters. When I write <infile ./program >outfile it does not work

    – Arrara
    Oct 13 at 15:37











  • ...because the correct options are missing.

    – rastafile
    Oct 13 at 15:40











  • What are options please?

    – Arrara
    Oct 13 at 15:41
















Should I replace -o1 -o2?

– Arrara
Oct 13 at 15:27





Should I replace -o1 -o2?

– Arrara
Oct 13 at 15:27













@Arrara Yes, I just saw you wrote "parameters". Now these things overlap. A call with argument "-V" as option for "print version" for example.

– rastafile
Oct 13 at 15:35





@Arrara Yes, I just saw you wrote "parameters". Now these things overlap. A call with argument "-V" as option for "print version" for example.

– rastafile
Oct 13 at 15:35













I am sorry, I ment output and input as parameters. When I write <infile ./program >outfile it does not work

– Arrara
Oct 13 at 15:37





I am sorry, I ment output and input as parameters. When I write <infile ./program >outfile it does not work

– Arrara
Oct 13 at 15:37













...because the correct options are missing.

– rastafile
Oct 13 at 15:40





...because the correct options are missing.

– rastafile
Oct 13 at 15:40













What are options please?

– Arrara
Oct 13 at 15:41





What are options please?

– Arrara
Oct 13 at 15:41


















draft saved

draft discarded















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f546596%2fhow-to-run-fortran77-program-with-inputs-from-file%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367