--------------------------------------------
o Unix vs. Dos Differences In Line Endings o
--------------------------------------------

Files edited in a unix environment vs dos/windows environment differ in the
control characters at the end of the lines -- dos has an extra control
character at the end of each line. Thus, diff, xdiff, gdiff (IRIX) will
indicate that every line is different, simply because of the control characters.

In most cases unix doesn't mind the extra characters -- in unix I was able
to compile a dos Fortran file, the nedit editor has no problems (and does not
display the control characters) and I was able to do a more on the file.

In windows the notepad editor had problems in that it did not recognize end
of record and made the entire text file a single line! However, the wordpad
editor had no problems and recognized the ends of lines. Hans said that the
textpad editor would also probably have no problems.

--------------------------------
o How To Deal With The Problem o
--------------------------------

Two unix commands can be used to convert back and forth between file types:

dos2unix  --> Example: dos2unix -n file_dos  file_unix
unix2dos  --> Example: unix2dos -n file_unix file_dos

A version of a file copied from my laptop to a zipdisk will still have the dos
line endings, however, emailing the program from my laptop to GFDL solves the
problem, in making the file an attachment to my email strips off the extra dos
characters.