Write a script that communicates with the ECU timetable website at http://apps.wcms.ecu.edu.au/semester-timetable/overview
• The script will accept a list of unit codes as standard input and the year as an argument.
• The script will gather a list of all results for the particular unit code and store the results in an sqlite3 database
• The data stored will include
o The name & unit code of the unit
o The activities for the unit, including start time, finish time, description (lecture/tute/workshop etc), location & period (Semester 1, Semester 2, etc)
• On completion of data gathering the script will present the information gathered as standard output, this should appear in a human readable format.
The following will be used to test your submissions. You should use this to make sure your script works prior to handing it in.
A file named units.txt that contains the following:
The following command will be executed to test your program, no additional information will be entered.
$ cat units.txt | ./timetable.sh 2012