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