home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / programm / 4445 < prev    next >
Encoding:
Text File  |  1992-08-25  |  1.3 KB  |  42 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!nuscc!ccechk
  3. From: ccechk@nuscc.nus.sg (Heng Kek)
  4. Subject: sccs: how to include rev. history?
  5. Message-ID: <1992Aug26.031957.12587@nuscc.nus.sg>
  6. Organization: National University of Singapore
  7. Date: Wed, 26 Aug 1992 03:19:57 GMT
  8. Lines: 32
  9.  
  10. Greetings,
  11.  
  12. How can I use sccs to include the history of revisions in my source
  13. code?  For e.g. I'd like to see something like the following lines
  14. in my source code, following a 'delta' and 'get':
  15.  
  16. #! /usr/local/bin/perl
  17. # $Id: jj.logger,v 1.3 92/08/25 16:00:34 John Thomas:jt $
  18. #
  19. # $Log:    jj.logger,v $
  20. # Revision 1.3  92/08/25  16:00:34  jt
  21. # Fixed divide by zero error if no mail either delivered or sent.
  22. # Revision 1.2  92/08/05  14:03:14  jt
  23. # Replaced '=' with '-' in output report
  24. # Revision 1.1  92/07/22  16:36:54  jt
  25. # Logfile processor 
  26. #
  27.  
  28. The above was extracted from some public domain source and I realise
  29. that it probably wasn't created using sccs.
  30.  
  31. I've tried to look for the solution by reading the man pages for
  32. the sccs commands but to no avail.  Does a solution exist for sccs?
  33.  
  34. Another question:  How do I use the various sccs modules (rmdel,
  35. unget, delta, get etc) to effect what is achieved by 'sccs fix'?
  36.  
  37. Thanks in advance for any responses.
  38.  
  39. Heng Kek
  40.