Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!samsung!umich!abaa!korsberg From: korsberg@abaa.uucp (Ed Korsberg) Newsgroups: comp.lang.c Subject: Re: SCCS REVISION HISTORY Keywords: SCCS revision history source Message-ID: <5633@abaa.UUCP> Date: 22 Oct 90 12:04:50 GMT References: <143950@sun.Eng.Sun.COM> Reply-To: korsberg@abaa.UUCP (Ed Korsberg) Organization: Allen Bradley Lines: 31 In article <143950@sun.Eng.Sun.COM> petej@itcode.Eng.Sun.COM (Pete Jolly) writes: > >Does anyone out there have any ideas on how to incorporate >revision history into SCCS source files?? > >Thanks in advance, > >Pete Jolly. I have not used RCS but I incorporate revision strings in my source files by including the following line for C source files: /**************************************************************************** Copyright 1990 Your company name %W%, Date %G% *****************************************************************************/ Assuming the source file is named foobar.c the above line %W%, Date %G% will expand to @(#)foobar.c 1.7, Date 10/22/90 ^ ^ Major revision--------! ! Minor revision----------! This expansion is done when SCCS checks a file back into the database. -- Ed Korsberg E-mail: korsberg@aa.ab.com Allen Bradley Inc. phone: 313-998-2470 555 Briarwood Circle Ann Arbor, Mich 48104