[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1041.0. "what string help" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Tue Nov 01 1994 16:02

Date Of Receipt: 	 1-NOV-1994 15:27:41.45
From: 	FLAMBE::"[email protected]"
To: 	[email protected]
CC: 	
Subj: 	what string help

The local ODE folks suggested you might have an answer to this question.


I have a file that has the following line in it:

static char rcsid[] = "@(#)$RCSfile $ $Revision $ (DEC) $Date $";

This line should look more like:

static char rcsid[] = "@(#)$RCSfile: ms_mode.c,v $ $Revision: 1.1.5.2 $ (DEC) $D
ate: 1994/10/28 01:46:03 $";

I see in the man pages under rcsinfo that I can put the following line:

static char rcsid[] = "$Id";

which will expand out to

$Id: filename revision data time author state $

This is not quite what we use for a what string. Do we have a correct 'C' what
string stored someplace, suitable for bci'ing into a file to correct this
what string problem.

Craig Wright


T.RTitleUserPersonal
Name
DateLines
1041.1Re: what string helpSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 01 1994 16:0411
Date Of Receipt: 	 1-NOV-1994 15:40:00.80
From: 	FLUME::jmcg "Jim McGinness"
To: 	[email protected]
CC: 	odehelp@DEC:.zko.flume
Subj: 	Re:  what string help

What you have is already sufficient.  The keywords will be expanded on
future checkouts to look like what you say you're expecting.

	-- jmcg

1041.2Re: what string helpSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 01 1994 16:0411
Date Of Receipt: 	 1-NOV-1994 15:41:12.92
From: 	FLUME::jmcg "Jim McGinness"
To: 	[email protected]
CC: 	odehelp@DEC:.zko.flume
Subj: 	Re:  what string help

Some of our source pools are now using "pragma ident" instead of
"static char rcsid".  Check with your project team.

	-- jmcg

1041.3Re: what string helpSMURF::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 01 1994 16:0586
Date Of Receipt: 	 1-NOV-1994 15:41:58.54
From: 	ALPHA::"[email protected]" "Grant Van Dyck  01-Nov-1994 1539"
To: 	Craig Wright <[email protected]>
CC: 	[email protected]
Subj: 	Re: what string help

Try /usr/sde/osf1/headers or /usr/sde/osf1/headers.v20

Here's examples of the contents of each:

root@lynx [54] pwd
/usr/sde/osf1/headers
root@lynx [55] more header.c
/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:$
 * $EndLog$
 */
#pragma ident "@(#)$RCSfile$ $Revision$ (DEC) $Date$"


or did you really mean:
root@lynx [56] more header.C
// 
// @DEC_COPYRIGHT@
//
// HISTORY
// $Log:$
// $EndLog$
// 
// @(#)$RCSfile$ $Revision$ (DEC) $Date$
// 
root@lynx [57] 


The older version of the .c looks like:
root@lynx [59] more header.c
/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:$
 * $EndLog$
 */
#ifndef lint
static char *rcsid = "@(#)$RCSfile$ $Revision$ (DEC) $Date$";
#endif



	-Grant

| 
| The local ODE folks suggested you might have an answer to this question.
| 
| 
| I have a file that has the following line in it:
| 
| static char rcsid[] = "@(#)$RCSfile $ $Revision $ (DEC) $Date $";
| 
| This line should look more like:
| 
| static char rcsid[] = "@(#)$RCSfile: ms_mode.c,v $ $Revision: 1.1.5.2 $ (DEC)
 $D
| ate: 1994/10/28 01:46:03 $";
| 
| I see in the man pages under rcsinfo that I can put the following line:
| 
| static char rcsid[] = "$Id";
| 
| which will expand out to
| 
| $Id: filename revision data time author state $
| 
| This is not quite what we use for a what string. Do we have a correct 'C' wha
t
| string stored someplace, suitable for bci'ing into a file to correct this
| what string problem.
| 
| Craig Wright
|