738 Part VI . Programming in Linux RCS (Web hosting comparison)
738 Part VI . Programming in Linux RCS manages multiple versions of files, usually but not necessarily source code files. It automates file version storage and retrieval, change logging, access control, release management, and revision identification and merging. As an added bonus, RCS minimizes disk space requirements because it tracks only file changes. One of RCS s attractions is its simplicity. With only a few commands, you can accomplish a great deal. Checking Files In and Out You can accomplish a lot with RCS using only two commands (ci and co) and a directory named RCS. ci stands for check in, which means storing a working file in the RCS directory; co means check out and refers to retrieving an RCS file from the RCS repository. To get started, you need to create an RCS directory. All RCS commands will use this directory if it is present in your current working directory. The RCS directory is also called the repository. When you check a file in, RCS asks for a description of the file, copies it to the RCS directory, and deletes the original. Deletes the original? Ack! Don t worry, you can retrieve it with the check out command, co. Here s how to create an RCS directory: $ mkdir RCS Next, create the following source file shown (howdy.c) in the same directory in which you created the RCS directory. /* * $Id$ * howdy.c - Sample to demonstrate RCS Usage */ #include
Check Tomcat Web Hosting services for best quality webspace to host your web application.