<p>Now that I have successfully figured out how to read an argument from the command line without knowing its length ahead of time, I am stuck on figuring out how to read a line of text from a file without knowing its length ahead of time. Apparently not an expected FORTRAN use case. I think the trick I was using before will not work, or at least, I *think*</p><p>read(10,"(a)",size=line_length,advance='NO') line_in</p><p>should read a line without advancing the filehandle and save the size. But it saves 0.</p>