I didn&#x27;t mean that you could output to a file -- I meant that, knowing the name of the file the program is saved to (which is possible using facilities available in many modern languages, not sure about Fortran), you can ingest that file and print out its contents (to STDOUT for example).<p>It feels like cheating, but it&#x27;s also probably the easiest way to get a true quine which&#x27;ll always work even if you modify parts of the code (while retaining the part of the program which ingests and prints out the file&#x27;s contents).