Scan until linefeed.