Windows, Linux, and Unix use different conventions with certain types of files. You need
to be aware of these, if you are trying to use files from a Unix system on CTC.
In particular:
- Binary files: little vs. big endian byte storage patterns
- Little endian - Windows and Linux
- Big endian - Unix (often)
- You will need to write a Fortran or C program to do this
machine-dependent conversion
- Text files: end-of-line characters differ
- CR+LF in Windows, LF in Linux and Unix (CR on an older Mac)
- Use ftp (in ASCII mode) to convert EOL automatically during transfer
- WordPad (Programs:Accessories menu) can do EOL conversion to Windows;
use this if you find you have a file that hasn't been converted cleanly
- dos2unix does conversion the other way, from Windows to Linux/Unix