How do I remove characters caused by a FTP session from a PC to a Unix System?
A. When using FTP to transfer a text file in binary mode or a tar file from a PC to a Unix system, this can cause your file to contain many “^M”s, representing carriage returns, and “^Z”s, which in turn can cause problems when compiling that file. To remove these “^M”s and “^Z”s, use /usr/sbin/to_unix or /usr/sbin/to_dos. Simply type “to_unix old_file_name new_file_name”. Be sure to make the new file name different from the old.