Using RCS to Manage Your Programming Projects
This article reminds you how to use RCS to manage the various versions of your script or other programming project.
There's a nice way to get around keeping myscript.old or myscript.bkp versions of your script.
Save each revision of your script using RCS:
You will be prompted to give a log message describing the changes made in the version you're checking in. Don't be tempted to enter 'asdf'! Sooner or later you'll be very glad that you wrote actual descriptions.
The above command also works to save the FIRST version of your script. The only difference is that the message you enter will not be a log message about the revision (it will remind you of this fact), but rather a short one-sentence description of the tool itself. So, for example, you'd enter "Audits WiscNIC entries to see if the emails are in LDAP."
Be sure to check out the most recent revision prior to starting any new edits:
co -l myscript.plTo get back an old version of your script:
co -p myscript.pl > newfilename.plVoila! Your old version is now there for you to compare and contrast using diff:
diff myscript.pl newfilename.pl