----------------------- Exercise #12 for CST8129 due November 23, 2005 ----------------------- -Ian! D. Allen - idallen@idallen.ca Remember - knowing how to find out an answer is more important than memorizing the answer. Learn to fish! RTFM! (Read The Fine Manual) Global weight: 1% of your total mark this term Due date: Before the end of your Lab period on Wednesday, November 23. The online deliverables for this exercise are to be submitted online via the T127 Linux Lab using the submit method described in the exercise description, below. No paper; no email; no FTP. Late-submission date: I will accept without penalty online exercises that are submitted late but before 12h00 (noon) on Friday, November 25. After that late-submission date, the exercise is worth zero marks. Exercises submitted by the *due date* will be marked online and your marks will be sent to you by email after the late-submission date. This exercise is due before the end of your Lab period on November 23. Location of the textbook CDROM files on the Lab workstations: The CDROM files for the Quigley textbook are available in the WT127 Lab under the directory: /home/cst8129/ The input file for this exercise is the "datebook" file from Chapter 3 on the CDROM. (Do not use the Chapter 4 or Chapter 5 files - they are in DOS format and regexp will not properly match end-of-line.) Write a script to perform the following operations: From your Quigley textbook p.124 (Lab 1 grep exercise): Questions: ALL (1-10) From your Quigley textbook p.156 (Lab 2 sed exercise): Questions: 1, 6, 7, 8, 9, 10b, 10c The script will contain one command line operation for each question. Input for each operation will come from the CDROM file given above. Submission ---------- Submit the finished and labelled (with your Assignment Label at the top) file for marking using the following Linux command line: $ ~alleni/bin/copy12 exercise12script.sh The copy12 program will copy the selected files to me for marking. You can copy the files more than once. Only the most recent copies will be marked. This exercise is due at the end of your lab period today. P.S. Did you spell all the label fields and file names correctly?