From: Truls Thirud Date: 2003-08-07T07:23:51+09:00 Subject: Re: cygwin-provided ruby 1.6.8's map/chomp can't remove dos newlines?! Justin Honold wrote: >...snip > ["julia\r", "justin\r"] > > how do i get rid of this? Just mount the directory (or a suitable parent directory) as a text directory (mount -t ...) and cd to it before running blah.rb, and it works just fine. This is my output: [tt@aljechin 00:14:51 /tthome/tmp] $ ruby blah.rb ["julia", "justin"] Truls Thirud