sccsfile.5

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 5 代码 · 共 285 行

5
285
字号
.\" SCCSID: @(#)sccsfile.5	8.1	9/11/90.tr ~.bd S B 3.ds K)  \fB\s-1DATA KEYWORDS\s+1\fR.ds D)  \fB\s-1DDDDD\s+1\fR.ds M)  \fB\s-1MR\s+1\fR.ds S)  \s-1SCCS\s+1.ds I)  \s-1SID\s+1.TH sccsfile 5.SH Namesccsfile \- format of SCCS file.SH Description.NXR "sccs keyword".NXB "SCCS file" "format"An SCCS file is an ASCII file thatconsists of six logical parts.  These six parts include checksum,delta table (contains information about each delta),user names (contains login names and/or numerical group \s-1ID\s+1s of users who may add deltas),flags (contains definitions of internal keywords),comments (contains arbitrary descriptive information about the file),and body (contains the actual text lines intermixed with control lines)..PPThroughout an SCCS file there are lines that begin with the.B ASCII SOH (start of heading) character (octal 001).This character is hereafter referred to as the.I control characterand will be represented graphically as @.Any line described that is not shown beginning withthe control character is prevented from beginningwith the control character..PPEntries of the form.PN DDDDDrepresent a 5-digit string number between 00000 and 99999..PPThe logical parts of an SCCS file, described in detail, are: .TP.I Checksum\^The checksum is the first line of an SCCS file.The form of the line is:.EX@hDDDDD.EE.IPThe value of the checksum is the sum of all characters, exceptthose of the first line.The .PN @hprovides a.I "magic number"\^of (octal) 064001..TP.I "Delta table"\^The delta table consists of a variable number of entries of the form:.EX@s DDDDD/DDDDD/DDDDD@d <type> <SCCS ID> yr/mo/da hr:mi:se <pgmr> DDDDD DDDDD@i DDDDD ...@x DDDDD ...@g DDDDD ...@m <MR number>  .  .  .@c <comment> ...  .  .  .@e.EE.PPThe first line.Pn (@s)contains the number of linesinserted/deleted/unchanged, respectively.The second line.Pn (@d)contains the type of the delta(normal: .PN Dand removed:.PN R ),the SCCS ID of the delta,the date and time of creation of the delta,the login name corresponding to the real user IDat the time the delta was created,and the serial numbers of the delta and its predecessor,respectively..spThe .PN @i , .PN @x , and .PN @glines contain the serial numbers of deltasincluded, excluded, and ignored, respectively.These lines are optional.The .PN @m lines (optional) each contain one .PN MR number associated with the delta.The .PN @clines contain comments associated with the delta..PPThe .PN @eline ends the delta table entry..TP.I "User names"\^The list of login names and numerical group ID of users who may add deltas to the file, separated by newlines.The lines containing these login names and numerical group ID are surroundedby the bracketing lines .PN @u and .PN @U .An empty list allows anyoneto make a delta..TP.I Flags\^~~~~~Keywords used internally.See .MS admin 1 for more information on their use.Each flag line takes the form:.sp.B @f <flag>	<optional text>.br.spThe following flags are defined:.EX@f t	<type of program>@f v	<program name>@f i@f b@f m	<module name>@f f	<floor>@f c	<ceiling>@f d	<default-sid>@f n@f j@f l	<lock-releases>@f q	<user defined>@f z	<reserved for use in interfaces>.EE.PPThe.PN tflag defines the replacement for the .PN \%%Y\%% identification keyword..PPThe.PN vflag controls prompting for .PN MR numbers, in addition to comments.If the optional text is present, it defines an .PN MRnumber-validity checking program..PPThe.PN iflag controls the warning/erroraspect of the ``No id keywords'' message.When the.PN iflag is not present,this message is only a warning;when the.PN iflag is present,this message will cause a fatal error(the file will not be retrieved or the delta will not be made)..PPWhen the.PN bflag is present,the.PN \-boption can be specified with the.PN getcommand to cause a branch in the delta tree..PPThe.PN mflag defines the first choice for the replacement text of the .PN \%%M\%%identification keyword..PPThe.PN fflag defines the ``floor'' release:the release below which no deltas may be added..PPThe.PN cflag defines the ``ceiling'' release:the release above which no deltas may be added..PPThe.PN dflag defines the default SID to be usedwhen none is specified on a.PN getcommand..PPThe.PN nflag causes.I delta\^to insert a null delta (a delta that applies.I no\^changes)in those releases that are skipped when a delta is made in a.I new\^release. For example, when delta 5.1 is made after delta 2.7, releases 3 and4 are skipped.The absence of the.PN nflag causes skipped releases to be completely empty..PPThe.PN jflag causes.PN getto allowconcurrent edits of the same base I..PPThe.PN lflag defines a list of releases that are locked against editing.PN getwith the.PN \-eoption..PPThe.PN qflag defines the replacement for the .PN \%%Q\%%identification keyword..PPThe.PN zflag is used in certain specialized interface programs..TP.I Comments\^Arbitrary text surrounded by the bracketing lines .PN @tand .PN @T .The comments section typically contains a description of the file's purpose..TP.I Body~~~~~\^The body consists of text lines and control lines.Text lines do not begin with the control character;control lines do.There are three kinds of control lines:.IR insert , ~delete ,and.IR end ,represented by the following:.EX@I DDDDD@D DDDDD@E DDDDD.EE.PPThe digit string is the serial number corresponding to the delta for thecontrol line..SH See Also(1), delta(1), get(1), prs(1), sccs(1).br.I An Introduction to the Source Code Control System,.brEric Allman, Supplementary Documentation, Vol. II..tr ~~.NXE "SCCS file" "format"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?