huang_q's get_next_line