[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

2706.0. "source file header, bci error message" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Dec 03 1996 15:51

Date Of Receipt: 	 3-DEC-1996 15:06:54.68
From: 	FLUME::"[email protected]" "03-Dec-1996 1503"
To: 	[email protected]
CC: 	
Subj: 	source file header, bci error message

Hi,

I am creating a new file and I would like to have the filename, revision,
and date as the first line in the file. eg:

	! @(#)$RCSfile$ $Revision$ $Date$

The bci command generates the following error message:

bci: Header file ./usr/sbin/lpd/filters/pcf/generic_ansi.pcf malformed.

Based on the documentation and looking at various files I suspect bci wants:

	! @COPYRIGHT@
	! HISTORY
	! @(#)$RCSfile$ $Revision$ $Date$

Is it possible to use $RCSfile$ $Revision$ $Date$ without adding copyright
and history tags?

Ernie

T.RTitleUserPersonal
Name
DateLines
2706.1Re: source file header, bci error messageAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Dec 03 1996 16:5444
Date Of Receipt: 	 3-DEC-1996 16:15:57.49
From: 	FLUME::"[email protected]" "03-Dec-1996 1612"
To: 	[email protected]
CC: 	[email protected]
Subj: 	Re: source file header, bci error message

I think you can do it if you set the comment leader to BIN or NONE. comments 
will appear in the RCS file and you can see them with blog, but the checked 
out file will not.

bcs -c"NONE" generic_ansi.pcf



		-Grant

| Hi,
| 
| I am creating a new file and I would like to have the filename, revision,
| and date as the first line in the file. eg:
| 
| 	! @(#)$RCSfile$ $Revision$ $Date$
| 
| The bci command generates the following error message:
| 
| bci: Header file ./usr/sbin/lpd/filters/pcf/generic_ansi.pcf malformed.
| 
| Based on the documentation and looking at various files I suspect bci wants:
| 
| 	! @COPYRIGHT@
| 	! HISTORY
| 	! @(#)$RCSfile$ $Revision$ $Date$
| 
| Is it possible to use $RCSfile$ $Revision$ $Date$ without adding copyright
| and history tags?
| 
| Ernie

-- 

				-Grant



2706.2Re: source file header, bci error messageAOSG::FILTERAutomatic Posting Software - mail to flume::puckWed Dec 04 1996 11:0414
Date Of Receipt: 	 4-DEC-1996 11:01:23.69
From: 	FLUME::jmf "Joshua M. Friedman Digital UNIX"
To: 	[email protected], [email protected]
CC: 	[email protected]
Subj: 	Re: source file header, bci error message

The advantage for text files of NONE over BIN is that the commands bdiff,
bmerge, and the merge choices while in bsubmit, are not available for
files which comment leader set to BIN.  This is appropriate for real 
binaries, for the pure text files which take no ODE header, NONE is a much
better choice.

-josh