#!/usr/bin/env ruby STDIN.set_encoding 'utf-8' STDOUT.set_encoding 'utf-8' while line = STDIN.gets STDOUT.write line.downcase end