home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / textfile / faqs / unix_faq / faq / part7 < prev   
Encoding:
Internet Message Format  |  1992-12-27  |  11.5 KB

  1. Xref: bloom-picayune.mit.edu comp.unix.questions:51333 comp.unix.shell:8339 news.answers:4775
  2. Path: bloom-picayune.mit.edu!senator-bedfellow.mit.edu!senator-bedfellow.mit.edu!usenet
  3. From: tmatimar@empress.com (Ted M A Timar)
  4. Newsgroups: comp.unix.questions,comp.unix.shell,news.answers
  5. Subject: Unix - Frequently Asked Questions (7/7) [Frequent posting]
  6. Supersedes: <unix-faq/faq/part7_723967331@athena.mit.edu>
  7. Followup-To: comp.unix.questions
  8. Date: 24 Dec 1992 06:03:00 GMT
  9. Organization: Empress Software
  10. Lines: 263
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: world
  13. Expires: 21 Jan 1993 06:02:09 GMT
  14. Message-ID: <unix-faq/faq/part7_725176929@athena.mit.edu>
  15. References: <unix-faq/faq/contents_725176929@athena.mit.edu>
  16. NNTP-Posting-Host: pit-manager.mit.edu
  17. X-Last-Updated: 1992/12/09
  18.  
  19. Archive-name: unix-faq/faq/part7
  20. Version: $Id: part7,v 2.1 92/12/04 07:44:00 tmatimar Exp $
  21.  
  22. These seven articles contain the answers to some Frequently Asked
  23. Questions often seen in comp.unix.questions and comp.unix.shell.
  24. Please don't ask these questions again, they've been answered plenty
  25. of times already - and please don't flame someone just because they may
  26. not have read this particular posting.  Thank you.
  27.  
  28. These articles are divided approximately as follows:
  29.  
  30.       1.*) General questions.
  31.       2.*) Relatively basic questions, likely to be asked by beginners.
  32.       3.*) Intermediate questions.
  33.       4.*) Advanced questions, likely to be asked by people who thought
  34.        they already knew all of the answers.
  35.       5.*) Questions pertaining to the various shells, and the differences.
  36.       6.*) An overview of Unix variants.
  37.       7.*) An comparison of configuration management systems (RCS, SCCS).
  38.  
  39. This article includes answers to:
  40.  
  41.       7.1)  RCS vs SCCS:  Introduction
  42.       7.2)  RCS vs SCCS:  How do the interfaces compare?
  43.       7.3)  RCS vs SCCS:  What's in a Revision File?
  44.       7.4)  RCS vs SCCS:  What are the keywords?
  45.       7.5)  What's an RCS symbolic name?
  46.       7.6)  RCS vs SCCS:  How do they compare for performance?
  47.       7.7)  RCS vs SCCS:  Version Identification.
  48.       7.8)  RCS vs SCCS:  How do they handle with problems?
  49.       7.9)  RCS vs SCCS:  Conversion.
  50.       7.10) RCS vs SCCS:  Support
  51.       7.11) RCS vs SCCS:  Command Comparison
  52.       7.12) RCS vs SCCS:  Acknowledgements
  53.       7.13) Can I get more information on configuration management systems?
  54.  
  55. If you're looking for the answer to, say, question 7.5, and want to skip
  56. everything else, you can search ahead for the regular expression "^7.5)".
  57.  
  58. While these are all legitimate questions, they seem to crop up in
  59. comp.unix.questions or comp.unix.shell on an annual basis, usually
  60. followed by plenty of replies (only some of which are correct) and then
  61. a period of griping about how the same questions keep coming up.  You
  62. may also like to read the monthly article "Answers to Frequently Asked
  63. Questions" in the newsgroup "news.announce.newusers", which will tell
  64. you what "UNIX" stands for.
  65.  
  66. With the variety of Unix systems in the world, it's hard to guarantee
  67. that these answers will work everywhere.  Read your local manual pages
  68. before trying anything suggested here.  If you have suggestions or
  69. corrections for any of these answers, please send them to to
  70. tmatimar@empress.com.
  71.  
  72. 7.1)  RCS vs SCCS:  Introduction
  73.  
  74.       Date: Sat, 10 Oct 92 19:34:39 +0200
  75.       From: Bill Wohler <wohler@sap-ag.de>
  76.  
  77.       The majority of the replies (in a recent poll) were in favor of
  78.       RCS, a few for SCCS, and a few suggested alternatives such as CVS.
  79.  
  80.       Functionally RCS and SCCS are practically equal, with RCS having
  81.       a bit more features since it continues to be updated.
  82.  
  83.       Note that RCS learned from the mistakes of SCCS...
  84.  
  85. 7.2)  RCS vs SCCS:  How do the interfaces compare?
  86.  
  87.       Date: Sat, 10 Oct 92 19:34:39 +0200
  88.       From: Bill Wohler <wohler@sap-ag.de>
  89.  
  90.       RCS has an easier interface for first time users.  There are less
  91.       commands, it is more intuitive and consistent, and it provides
  92.       more useful arguments.
  93.  
  94.       Branches have to be specifically created in SCCS.  In RCS, they
  95.       are checked in as any other version.
  96.  
  97. 7.3)  RCS vs SCCS:  What's in a Revision File?
  98.  
  99.       Date: Sat, 10 Oct 92 19:34:39 +0200
  100.       From: Bill Wohler <wohler@sap-ag.de>
  101.  
  102.       RCS keeps history in files with a ",v" suffix.  SCCS keeps
  103.       history in files with a "s." prefix.
  104.  
  105.       RCS looks for RCS files automatically in the current directory or
  106.       in a RCS subdirectory, or you can specify an alternate RCS file.
  107.       The sccs front end to SCCS always uses the SCCS directory.  If
  108.       you don't use the sccs front end, you must specify the full SCCS
  109.       filename.
  110.  
  111.       RCS stores its revisions by holding a copy of the latest version
  112.       and storing backward deltas.  SCCS uses a "merged delta"
  113.       concept.
  114.  
  115.       All RCS activity takes place within a single RCS file.  SCCS
  116.       maintains several files.  This can be messy and confusing.
  117.  
  118.       Editing either RCS or SCCS files is a bad idea because mistakes
  119.       are so easy to make and so fatal to the history of the file.
  120.       Revision information is easy to edit in both types, whereas one
  121.       would not want to edit the actual text of a version in RCS.  If
  122.       you edit an SCCS file, you will have to recalculate the checksum
  123.       using the admin program.
  124.  
  125. 7.4)  RCS vs SCCS:  What are the keywords?
  126.  
  127.       Date: Sat, 10 Oct 92 19:34:39 +0200
  128.       From: Bill Wohler <wohler@sap-ag.de>
  129.  
  130.       RCS and SCCS use different keywords that are expanded in the
  131.       text.  For SCCS the keyword "%I%" is replaced with the revision
  132.       number if the file is checked out for reading.
  133.  
  134.       The RCS keywords are easier to remember, but keyword expansion is
  135.       more easily customized in SCCS.
  136.  
  137.       In SCCS, keywords are expanded on a read-only get.  If a version
  138.       with expanded keywords is copied into a file that will be
  139.       deltaed, the keywords will be lost and the version information in
  140.       the file will not be updated.  On the other hand, RCS retains the
  141.       keywords when they are expanded so this is avoided.
  142.  
  143. 7.5)  What's an RCS symbolic name?
  144.  
  145.       Date: Sat, 10 Oct 92 19:34:39 +0200
  146.       From: Bill Wohler <wohler@sap-ag.de>
  147.  
  148.       RCS allows you treat a set of files as a family of files while
  149.       SCCS is meant primarily for keeping the revision history of
  150.       files.
  151.  
  152.       RCS accomplishes that with symbolic names: you can mark all the
  153.       source files associated with an application version with `rcs
  154.       -n', and then easily retrieve them later as a cohesive unit.  In
  155.       SCCS you would have to do this by writing a script to write or
  156.       read all file names and versions to or from a file.
  157.  
  158. 7.6)  RCS vs SCCS:  How do they compare for performance?
  159.  
  160.       Date: Sat, 10 Oct 92 19:34:39 +0200
  161.       From: Bill Wohler <wohler@sap-ag.de>
  162.  
  163.       Since RCS stores the latest version in full, it is much faster in
  164.       retrieving the latest version.  After RCS version 5.6, it is also
  165.       faster than SCCS in retrieving older versions.
  166.  
  167. 7.7)  RCS vs SCCS:  Version Identification.
  168.  
  169.       Date: Sat, 10 Oct 92 19:34:39 +0200
  170.       From: Bill Wohler <wohler@sap-ag.de>
  171.  
  172.       SCCS is able to determine when a specific line of code was added
  173.       to a system.
  174.  
  175. 7.8)  RCS vs SCCS:  How do they handle with problems?
  176.  
  177.       Date: Sat, 10 Oct 92 19:34:39 +0200
  178.       From: Bill Wohler <wohler@sap-ag.de>
  179.  
  180.       If you are missing the sccs or rcs tools, or the RCS or SCCS file
  181.       is corrupt and the tools don't work on it, you can still retrieve
  182.       the latest version in RCS.  Not true with SCCS.
  183.  
  184. 7.9)  RCS vs SCCS:  Conversion.
  185.  
  186.       Date: Sat, 10 Oct 92 19:34:39 +0200
  187.       From: Bill Wohler <wohler@sap-ag.de>
  188.  
  189.       RCS provides a program to convert from SCCS to RCS.  One would
  190.       have to write his own program to convert from RCS to SCCS.
  191.  
  192. 7.10) RCS vs SCCS:  Support
  193.  
  194.       Date: Sat, 10 Oct 92 19:34:39 +0200
  195.       From: Bill Wohler <wohler@sap-ag.de>
  196.  
  197.       SCCS is supported by AT&T.  RCS is supported by the Free Software
  198.       Foundation.  Therefore RCS runs on many more platforms, including
  199.       PCs.
  200.  
  201.       Most make programs recognize SCCS's "s."  prefix while GNU make
  202.       is one of the few that handles RCS's ",v" suffix.
  203.  
  204.       Some tar programs have a -F option that ignores either RCS
  205.       directories, or SCCS directories or both.
  206.  
  207. 7.11) RCS vs SCCS:  Command Comparison
  208.  
  209.       Date: Sat, 10 Oct 92 19:34:39 +0200
  210.       From: Bill Wohler <wohler@sap-ag.de>
  211.  
  212.       SCCS                        RCS                   Explanation
  213.       ====                        ===                   ===========
  214.  
  215.       sccs admin -i -nfile file   ci file               Checks in the file
  216.                                                         for the first time,
  217.                                                         creating the revision
  218.                                                         history file.
  219.  
  220.       sccs get file               co file               Check out a file for
  221.                                                         reading.
  222.  
  223.       sccs edit file              co -l file            Check out a file for
  224.                                                         modification.
  225.  
  226.       sccs delta file             ci file               Check in a file
  227.                                                         previously locked.
  228.  
  229.       what file                   ident file            Print keyword
  230.                                                         information.
  231.  
  232.       sccs prs file               rlog file             Print a history of
  233.                                                         the file.
  234.  
  235.       sccs sccsdiff -rx -ry file  rcsdiff -rx -ry file  Compare two
  236.                                                         revisions.
  237.  
  238.       sccs diffs file             rcsdiff file          Compare current with
  239.                                                         last revision.
  240.  
  241.       sccs edit -ix-y file        rcsmerge -rx-y file   Merge changes between
  242.                                                         two versions into
  243.                                                         file.
  244.  
  245.       ???                         rcs -l file           Lock the latest
  246.                                                         revision.
  247.  
  248.       ???                         rcs -u file           Unlock the latest
  249.                                                         revision.  Possible
  250.                                                         to break another's 
  251.                                                         lock, but mail is
  252.                                                         sent to the other
  253.                                                         user explaining why.
  254.  
  255. 7.12) RCS vs SCCS:  Acknowledgements
  256.  
  257.       Date: Sat, 10 Oct 92 19:34:39 +0200
  258.       From: Bill Wohler <wohler@sap-ag.de>
  259.  
  260.       I would like to thank the following persons for contributing to
  261.       these articles.  I'd like to add your name to the list--please
  262.       send comments or more references to Bill Wohler <wohler@sap-ag.de>.
  263.  
  264.     Karl Vogel <vogel@c-17igp.wpafb.af.mil>
  265.     Mark Runyan <runyan@hpcuhc.cup.hp.com>
  266.     Paul Eggert <eggert@twinsun.com>
  267.     Greg Henderson <henders@infonode.ingr.com>
  268.     Dave Goldberg <dsg@mbunix.mitre.org>
  269.     Rob Kurver <rob@pact.nl>
  270.     Raymond Chen <rjc@math.princeton.edu>
  271.     Dwight <dwight@s1.gov>
  272.  
  273. 7.13) Can I get more information on configuration management systems?
  274.  
  275.       Date: Thu Oct 15 10:27:47 EDT 1992
  276.       From: Ted Timar <tmatimar@empress.com>
  277.  
  278.       Bill Wohler, who compiled all of the information in this part of
  279.       the FAQ, has compiled much more information.  This information is
  280.       available for ftp from ftp.wg.omron.co.jp (133.210.4.4) under
  281.       "pub/unix-faq/docs/rev-ctl-sys".
  282.