sccsfile - format of an SCCS history file
An SCCS file is an ASCII file consisting of six logical parts:
checksum
delta table
usernames
flags
comments
body
Each section is described in detail below.
Throughout an SCCS file there are lines which begin with the ASCII SOH (start of heading) character (octal 001). This character is hereafter referred to as the control character, and will be represented as `^A'. If a line described below is not depicted as beginning with the control character, it cannot do so and still be within SCCS file format.
Entries of the form ddddd represent a five digit string (a number between 00000 and 99999).
The checksum is the first line of an SCCS file. The form of the line is:
^A hddddd
The value of the checksum is the sum of all characters, except those contained in the first line. The ^Ah provides a magic number of (octal) 064001.
The delta table consists of a variable number of entries of the form:
^As inserted/deleted/unchanged ^Ad type sid yr/mo/da hr:mi:se username serial-number \ predecessor-sn ^Ai include-list ^Ax exclude-list ^Ag ignored-list ^Am mr-number ... ^Ac comments ... ... ^Ae
The first line (^As) contains the number of lines inserted/deleted/unchanged respectively. The second line (^Ad) contains the type of the delta (normal: D and removed: R), the SCCS ID of the delta, the date and time of creation of the delta, the user-name corresponding to the real user ID at the time the delta was created, and the serial numbers of the delta and its predecessor, respectively. The ^Ai, ^Ax, and ^Ag lines contain the serial numbers of deltas included, excluded, and ignored, respectively. These lines do not always appear.
The ^Am lines (optional) each contain one MR number associated with the delta. The ^Ac lines contain comments associated with the delta.
The ^Ae line ends the delta table entry.
The list of user-names and/or numerical group IDs of users who may add deltas to the file, separated by NEWLINE characters. The lines containing these login names and/or numerical group IDs are surrounded by the bracketing lines ^Au and ^AU. An empty list allows anyone to make a delta.
Flags are keywords that are used internally (see sccs-admin(1) for more information on their use). Each flag line takes the form:
^Af flag optional text
The following flags are defined in order of appearance:
^Af t type-of-program
^Af v program-name
^Af i
^Af b
^Af m module-name
^Af f floor
^Af c ceiling
^Af d default-sid
^Af n
^Af j
^Af l lock-releases
^Af q user-defined
^Af e 0|1
Arbitrary text surrounded by the bracketing lines ^At and ^AT. The comments section typically will contain a description of the file's purpose.
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: insert, delete, and end, represented by:
^AI ddddd ^AD ddddd ^AE ddddd
respectively. The digit string is the serial number corresponding to the delta for the control line.
sccs-admin(1), sccs-cdc(1), sccs-comb(1), sccs-delta(1), sccs-get(1), sccs-help(1), sccs-prs(1), sccs-prt(1), sccs-rmdel(1), sccs-sact(1), sccs-sccsdiff(1), sccs-unget(1), sccs-val(1), sccs(1), what(1)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |