Just a shot into the dark, did you "fix" the line endings from Windows style to Linux style?
Thanks Carsten, of course that was the problem! Silly me, I still don't get the hang of this mixed opsys mess. Cheers, Szabolcs