home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / unix-faq / faq / part7 < prev   
Encoding:
Internet Message Format  |  2004-05-12  |  14.7 KB

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