On Sat, 4 Apr 2009, Ian King wrote:
Source files should not be giving you a 'record
problem' (since they're
text) - but there is another potential issue. I downloaded some BASIC
source files on a PC, zipped them up and transferred them over to a VAX.
I picked one to compile (this is BASIC we're talking about), and it
failed with an error per line. I opened up the file in TPU and
discovered that there was a 'spurious' CR at the end of each line. I
removed those and everything compiled and linked. Take a look at the
line-level translation that may be happening. -- Ian
New-line is not really standardized.
Although the machines may all claim to be using ASCII,
newline may be represented by
CR LF,
CR,
LF,
or LF CR (rarest)
The reasons are enough for a thread of its own.