Solved replacement of newline characters in lineChange.rb