Skip to main content
4 events
when toggle format what by license comment
Sep 7, 2013 at 16:16 comment added Stuart Not sure what you mean - one way or another, you have to read the whole file in. If you don't need to check that there is a remaining line in the log file, you can remove one_line_left = ... and just check whether lines_match is true.
Sep 7, 2013 at 16:09 comment added user765443 Agree, But As I am doing operation on the last line. And I know only last line will be change than it will be overhead for me
Sep 7, 2013 at 16:08 vote accept user765443
Sep 7, 2013 at 16:05 history answered Stuart CC BY-SA 3.0