Subject: Re: source code tags
To: None <firstname.lastname@example.org>
From: Florian Stoehr <email@example.com>
Date: 09/19/2004 18:27:41
On Sun, 19 Sep 2004 firstname.lastname@example.org wrote:
> I have a silly question, looking at NetBSD source code, each file has a
> tag on the first line, like the one below
> $NetBSD: kern_lock.c,v 1.83 2004/08/04 10:37:08 yamt Exp $
^ ^ ^ ^ ^
??? filename revision date last user who modified file
I really dunno how they make that "NetBSD" at the beginning, I usually
in a file and after cvs commit / cvs update, I get things like
$Id: vph_yacc_preprocessor.h,v 1.22 2004/09/16 15:59:23 cvs Exp $
See "man ident" or "man co"
> Could somebody please explain the format of those tags, i.e. why is
> there '$' at the start and end? What is 'Exp' for? What is 'yamt' for?