From: "Daniel Carrera" <dcarrera / math.umd.edu> > Thanks for the help. > > File.rename is behaving strangely. The file name ended up have an extra > non-printing character at the end. Instead of naming the file "filename" > it names it "filename^J". > > I don't know what character "^J" is. > 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