s chatterjee wrote: > I want to append the output of a g77 compiled fortran > program to the contents of an existing file, (so that > the existing file is not overwritten), is there any > way of doing this? The attached program will append the string "aap" to the file fort.1 every time when run: -- Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)