====================================== Correcting Spelling Errors after Tests ====================================== -IAN! idallen@ncf.ca If you have made a spelling error naming some script or output file in the test, and you want partial credit, read this. For those of you who got one or more of the answer file names wrong (or who put the answer files in the wrong subdirectories), you can redeem yourselves partially by sending me by email a properly constructed shell script that makes links to the correct names in the correct directory. I will run the script you send me, in my copy of your HOME directory and then I will re-run the marking program. For part marks, send me a properly constructed repair shell script that will make a link from the incorrect name to the correct name in the correct directory: 1. I will run your repair script in my copy of your HOME directory. The script must be designed to run in your HOME directory. 2. The body of the repair script must contain relative pathnames only. No absolute pathnames are allowed. 3. It must not remove or copy the existing mis-named file. Only links are allowed. 4. The repair script must meet course standards for comments and header. See the week7.txt notes. This is your second and last chance to get the name correct, for part marks. If the repair script does not meet all of the above four criteria, the existing mark stands. For example, the body of your script (after a properly constructed template Shell Script Header as given in the week7.txt notes) might read like this: ln Linux_three_zeros.txt linux_three_zeroes.txt ln jupiter/io/easy.txt easy.txt ln -s copy .copy Use hard links for files with incorrect names. Use symbolic links ("-s") for an io/ or thebe/ directory with an incorrect name. Your script is only allowed to make additional links in your HOME directory; it is not allowed to move, copy, or alter file content. You also can't use the script to repair anything under your io/ or thebe/ subdirectory. Your emailed scripts must have a complete Shell Script Header. Use paths relative to your HOME directory only, since my saved location for your HOME directory isn't even on the same machine as the test machine. I will run the script in my copy of your HOME directory. Do not use any "cd" commands inside your script - only "ln" commands with relative pathnames (relative to your HOME directory) are allowed. To send the completed shell script, you may use the Unix "mail" command. The Unix email program "mail" takes an email address as its command line argument and (like most Unix programs) reads from standard input. You only get one chance to get the script correct.