while ( && $line_stop++ < $line_no) { s/\r\n//;print $_; }