home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / unix-faq / faq / part7 < prev    next >
Encoding:
Internet Message Format  |  1993-12-26  |  13.8 KB

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