Exercise: parse hours log file and create time report - video
Exercise
The log file looks like this:
examples/regex/timelog.log
09:20 Introduction 11:00 Exercises 11:15 Break 11:35 Scalars 12:30 Lunch Break 13:30 Exercises 14:10 Solutions 14:30 Break 14:40 Arrays 15:40 Exercises 17:00 Solutions 17:30 End 09:30 Advanced Arrays 10:30 Break 10:50 Exercises 12:00 Solutions 12:30 Hash fuction introduction 12:45 Lunch Break 14:15 Exercises 16:00 Solutions 16:15 Break 16:30 Subroutines 17:00 Exercises 17:30 End
the report should look something like this:
09:20-11:00 Introduction 11:00-11:15 Exercises 11:15-11:35 Break ...
and
Solutions: 95 minutes 9% Break 65 minutes 6% ...
Published on 2015-08-03
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post