The prs utility shall conform to the Base Definitions volume of
POSIX.1‐2017, Section 12.2, Utility Syntax Guidelines, except
that the -r
option has an optional option-argument. This optional
option-argument cannot be presented as a separate argument. The
following options shall be supported:
-d
dataspec
Specify the output data specification. The dataspec
shall be a string consisting of SCCS file data keywords
(see Data Keywords) interspersed with optional user-
supplied text.
-r[
SID]
Specify the SCCS identification string (SID) of a delta
for which information is desired. If no SID option-
argument is specified, the SID of the most recently
created delta shall be assumed.
-e
Request information for all deltas created earlier than
and including the delta designated via the -r
option or
the date-time given by the -c
option.
-l
Request information for all deltas created later than
and including the delta designated via the -r
option or
the date-time given by the -c
option.
-c
cutoff Indicate the cutoff date-time, in the form:
YY[
MM[
DD[
HH[
MM[
SS]]]]]
For the YY component, values in the range [69,99] shall
refer to years 1969 to 1999 inclusive, and values in
the range [00,68] shall refer to years 2000 to 2068
inclusive.
Note:
It is expected that in a future version of this
standard the default century inferred from a
2-digit year will change. (This would apply to
all commands accepting a 2-digit year as input.)
No changes (deltas) to the SCCS file that were created
after the specified cutoff date-time shall be included
in the output. Units omitted from the date-time default
to their maximum possible values; for example, -c 7502
is equivalent to -c 750228235959
.
-a
Request writing of information for both removed—that
is, delta type=R (see rmdel(1p))—and existing—that is,
delta type=D,—deltas. If the -a
option is not
specified, information for existing deltas only shall
be provided.