chop newline from non-tty input
update weather script to new CLI