271 Extra script homework - optional

Do this if you want to make up missed homework or if you want to take a midterm challege test to regain up to 60% of your lost points. This assignment is your ticket to being allowed to take the midterm challenge.

Hand in all 4 scripts together to moodle. You will get credit for 2 missed homeworks by handing in fully working scripts complete with error checking of user input. The error checking will make these scripts a little longer than prior homework. Partial credit is possible, but late work will not be accepted.

Once you hand this in with working code, you are eligible to take a midterm challenge test to regain up to 60% of your lost points. You need to email me to work out a time to take this challenge test as it needs to be taken outside class. The challenge test has to be taken within 2 weeks of handing in this assignment. The test will not include Perl and will be more construction than multiple choice.

--------

For all scripts, give an error if the correct number of parameters are not sent. In that error, describe the expected parameters. When there is an error, give an error message and exit with a number other than 0.

1) Directory copy script: copy all files named with certain letters to another directory

2) Directory match script: list all files that are found in one directory but not the other, or vice versa.

3) Differences identification script: directory comparison of file contents tool. The comparison output should be written to a file named diff.out.

4) Any script you would find useful that no other student already submitted.