> J is the tenth letter of the English alphabet, so ^J is ASCII character #10,
> which Ruby tells me (10.chr) is "\n".  13.chr is "\r".
>
> Maybe a chomp! is in order.
>
> Gavin

Thanks.  That explains it all.  Yes, I did need a chomp!.

Daniel.