From: David Tran Date: 2006-03-02T07:04:56+09:00 Subject: [SOLUTION] Current Temperature (#68) My one-line solution. Just join the below 4 lines become one single line; even no need space when join lines. require'open-uri';puts (ARGV.size !=1)?"Usage: #$0 ": ("The temperature in #$1 is #$2 degrees F."if %r|Weather for (.*?).*?(\d+)°F|=~ open("http://www.google.com/search?hl=en&q=temperature+#{ARGV[0]}"){|f|f.read})