home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / question / 10138 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  2.1 KB

  1. Path: sparky!uunet!olivea!samsung!transfer!jjmhome!alden!alden.UUCP
  2. From: sgr@alden.UUCP (Stan Ryckman)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: SCCS Question
  5. Message-ID: <513@alden.UUCP>
  6. Date: 17 Aug 92 16:50:55 GMT
  7. References: <1697@aviary.Stars.Reston.Unisys.COM>
  8. Sender: usenet@alden.UUCP
  9. Distribution: na
  10. Organization: Alden Electronics, Westboro, MA
  11. Lines: 63
  12.  
  13. In article <1697@aviary.Stars.Reston.Unisys.COM> dmarshal@Stars.Reston.Unisys.COM ( Paramax) writes:
  14. >Note:  This is my boss's question, so my apologies if I don't ask it well.
  15. >
  16. >When you initially create an SCCS file without identification keywords,
  17. >sccs complains that you don't have any keywords and continues.  If that
  18. >file is checked out and modified such that identification keywords are
  19. >now present (such as %M%), and then the file is checked back in, sccs
  20. >*still* complains that no keywords are present.  Furthermore, the
  21. >identification keywords are not expanded as we would hope.
  22. >
  23. >Is there any way to get sccs to accept keywords after the inital creation
  24. >of the SCCS file?
  25. >
  26. >We would create new SCCS files with the new keywords in place, but THE MAN
  27. >has decided we ought to keep the history information we have been collecting
  28. >so far.
  29. >-- 
  30. >                                           Dave Marshall
  31. >                                           dmarshal@stars.reston.unisys.com
  32.  
  33. You're either not doing it right or you have a broken SCCS.  You
  34. didn't say what machine/OS etc.  I'm using a Sun-3 and get the
  35. following:
  36. ========
  37. sgr-327) echo This is a test > foo
  38. sgr-328) sccs create foo
  39.  
  40. foo:
  41. No id keywords (cm7)
  42. 1.1
  43. 1 lines
  44. No id keywords (cm7)
  45. sgr-329) sccs edit foo
  46. 1.1
  47. new delta 1.2
  48. 1 lines
  49. sgr-330) echo 'Foo stuff %M% %D% %T% %I%' >> foo
  50. sgr-331) sccs delget foo
  51. comments? none
  52. 1.2
  53. 1 inserted
  54. 0 deleted
  55. 1 unchanged
  56. 1.2
  57. 2 lines
  58. sgr-332) cat foo
  59. This is a test
  60. Foo stuff foo 92/08/17 12:34:42 1.2
  61. sgr-333) sccs edit foo
  62. 1.2
  63. new delta 1.3
  64. 2 lines
  65. sgr-334) cat foo
  66. This is a test
  67. Foo stuff %M% %D% %T% %I%
  68. sgr-335)
  69. ========
  70.  
  71. Good luck,
  72. Stan.
  73. --
  74. This .signature has expired.  Call 1-900-YOU-FOOL to find out why.
  75.     Stan Ryckman   sgr@alden.UUCP
  76.