readline trim newline