Console input

fr Michal:

# data.chomp

data.chomp!

or if you don't want the bang

data = gets.chomp

this q should be faqed, imho.