Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 1997 08:46:37 -0400 (EDT)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Jose Monteiro <jm@pluriproj.pt>
Cc:        freebsd-chat@FreeBSD.ORG
Subject:   Re: id lines
Message-ID:  <Pine.BSF.3.96.970923084148.26663A-100000@Journey2.mat.net>
In-Reply-To: <342eb06f.14267319@mail.leirianet.pt>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Sep 1997, Jose Monteiro wrote:

> Hi there,
> 
> Can anyone tell me how are the lines like:
> 
> # $Id: access.conf,v 1.0 1997/07/12 01:10:00 jhl Exp $
> 
> generated?
> 
> I usually find them in certain shell scripts and configuration files.

Program called cvs (it's on your computer) manages storing software in a
project, with history, and the ability to merge in changes that come from
many developers.  It's one of a class of programs that are called version
control software, or maybe source code control software (see the cvs man
page).  Anyhow, when cvs manages storing a file, it looks at the file and
can be made to expand certain strings with predefined strings.  One of
those is $Id$, which is expanded like you see above to include the file
name, the username of the person committing it, and the time and version
number.  There are others also, take a look at the man page.

There are many other source code control systems too, some free, some
commercial.  Very good thing for someone doing software to know.

> 
> Thanks,
> 
> 
> 
> *--------------Jose Monteiro <jm@pluriproj.pt>--------------*
> |     Pluriproj - Redes e Sistemas de Comunicacoes Lda.     |
> |      Agente IP em Leiria    http://www.pluriproj.pt       |
> *.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·*
> |        Tel: +351 44 8182063   Fax: +351 44 8182061        |
> |   Finger me or search key servers for my PGP public key   |
> *-----------------------------------------------------------*
> 
> 

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@eng.umd.edu          | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic, both FreeBSD
(301) 220-2114              | version 3.0 current -- and great FUN!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970923084148.26663A-100000>