I'm in uni and when I work at home, programming, after finishing code I ftp
these files to my
UNIX, system V release 4.0, on SunOS 5.5, account to use their compiler,
MOCKA. but the problem is that it has problems with the files. It
complains and says that there is an invalid character at the end of the each
when I look at the file in 'vi' it reveals that at the end of each line
there is a ^M control character.
q1. does anyone know what this control character does, is it something to
do with next line?
I can remove this control character and it compiles okay.
but the files I want to ftp are huge and rely on other file, i.e. DEFINITION
AND IMPLEMENTATION MODULES.
q2, can anyone tell me how to ftp files to unix without it inserting this
character, or how I can write them, on the PC using NOTEPAD, without
inserting the character?
q3, or does anyone have MOCKA for the PC?
I really hope someone can help me.