CSCI 265--Programming Assignment (Pex) 4-5 DUE: on or before 3am on Thursday Apr 17. PREPARATION Study the make files in ~csci265/Pex/Pex4-5/Project Study the class notes concerning non-GNU make and RCS. PROBLEM SUMMARY Write the perl script prep-rcs.pl that prepares a project (such as KWIC) for revision control using RCS. INVOCATION prep-rcs fn where fn is a project directory. PROBLEM SPECIFICATION Assume a directory structure as in KWIC. In each of the project directories, your script must 1. create an RCS directory 2. add the RCS key word $Id$ to each of the source files 3. check-in the source file to the RCS directory The following source file suffixes must be supported: .c -- add static char rcsid[] = "$Id$"; to all .c files .h -- add /* $Id$ */ to all .h files NOTE... the Makefiles are NOT to be checked-in. ~csci265/Pex/Pex4-5/Project shows a simple project after it has been prepared for RCS (i.e., after `prep-rcs Project' was executed at the command line). ASSUMPTIONS All files/directories are accessible in the appropriate way i.e., you need not check for read/write/execute status. SUBMISSION Your Perl script must be sent in a single e-mail message to csci265@malun1. The subject line on the mail message should be the word `CSCI265-Exercise-4-5'. Submit only one implementation; if you send more than one, we will discard all but the last one received on time. GRADING CRITERIA Your mark will be based on the following criteria: 1. Does your script have the required behaviour? ~