Article 4SBPT putting an output from a terminal command to a file

putting an output from a terminal command to a file

by
fromvt
from LinuxQuestions.org on (#4SBPT)
Hi,
I am trying to save error messages when compiling file "a.f" on my MAC using
gfortran as a FORTRAN compiler.

The terminal command
gfortran -c a.f > log

puts compiler errors on the screen rather than into the file "log". I have tried
both with existing and non-existing file "log"

There is no complaint about using the redirect sign ">". It simply ignores it.
Thank you in advancelatest?d=yIl2AUoC8zA latest?i=6F_6ZSU-QQM:hZIf8Vg4wLY:F7zBnMy latest?i=6F_6ZSU-QQM:hZIf8Vg4wLY:V_sGLiP latest?d=qj6IDK7rITs latest?i=6F_6ZSU-QQM:hZIf8Vg4wLY:gIN9vFw6F_6ZSU-QQM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments