Andrei POPESCU:
OChristian Perrier wrote:I guarantee that ^M are there. However, vim doesn't show them. You need a very very basic "vi" to see them (I use nvi) and remove them.From a quick reading through vim's help :set fileformat=unix will probably fix the file.
You can also try simply: tr -d '\r' Kind regards, Chris