PRS(1SCCS) COMMAND REFERENCE PRS(1SCCS) NAME prs - print an SCCS file SYNOPSIS prs [-a] [-d[dataspec]] [-e] [-l] [-r[SID]] files DESCRIPTION Prs ^ prints, on the standard output, parts or all of an SCCS file (see sccsfile(5sccs)) in a user supplied format. If a directory is named, prs ^ behaves as though each file in the directory except non-SCCS files, were specified as a named file. If name of - is given, the standard input is read; each line of the standard input is taken to be the name of an SCCS file or directory to be processed. Data keywords specify which parts of an SCCS file are to be retrieved and output. All parts of an SCCS file (see sccsfile(5sccs)) have an associated data keyword. There is no limit on the number of times a data keyword may appear in a dataspec. The information printed by prs ^ consists of: (1) the user supplied text; and (2) appropriate values (extracted from the SCCS file) substituted for the recognized data keywords in the order of appearance in the dataspec. The format of a data keyword value is either Simple (S), in which keyword substitution is direct, or Multi-line (M), in which keyword substitution is followed by a carriage return. User supplied text is any text other than recognized data keywords. A tab is specified by \t and carriage return/new-line is specified by \n. OPTIONS -a Requests printing of information for both removed, i.e., delta type = R, (see rmdel(1sccs)) and existing, i.e., delta type = D, deltas. If the -a keyletter is not specified, information for existing deltas only is provided. -ddataspec Used to specify the output data specification. The dataspec is a string consisting of SCCS file data keywords (see prskeywords(5sccs)) interspersed with optional user supplied text. -e Requests information for all deltas created earlier than and including the delta designated via the -r keyletter. -l Requests information for all deltas created later than and including the delta designated via the -r keyletter. Printed 4/6/89 1
PRS(1SCCS) COMMAND REFERENCE PRS(1SCCS) -rSID Used to specify the SCCS IDentification (SID) string of a delta for which information is desired. If no SID is specified, the of the most recently created delta is assumed. EXAMPLES prs -d"Users and/or user IDs for :F: are:\n:UN:" s.file may produce on the standard output: Users and/or user IDs for s.file are: xyz 131 abc prs -d"Newest delta for pgm :M:: :I: Created :D: By :P:" -r s.file may produce on the standard output: Newest delta for pgm main.c: 3.7 Created 77/12/1 By cas As a special case: prs s.file may produce on the standard output: D 1.1 77/12/1 00:00:00 cas 1 000000/00000/00000 MRs: bl78-12345 bl79-54321 COMMENTS: this is the comment line for s.file initial delta for each delta table entry of the ``D'' type. The only keyletter argument allowed to be used with the special case is the -a keyletter. FILES /tmp/pr????? Temporary file for multi-column output DIAGNOSTICS Use sccshelp(1sccs) for explanations. CAVEATS Non-SCCS files and unreadable files are silently ignored. SEE ALSO admin(1sccs), delta(1sccs), get(1sccs), prskeywords(5sccs), rmdel(1sccs), sccshelp(1sccs), and sccsfile(5sccs). Printed 4/6/89 2
%%index%% na:312,76; sy:388,297; de:685,1694; op:2379,1102;3865,251; ex:4116,1388; fi:5504,124; di:5628,182; ca:5810,142; se:5952,363; %%index%%000000000158