UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: helpChapter 18
The Source Code Control System
Next: Reference: prt
 

prs

prs [options] files

Print formatted information for one or more SCCS files.

Options

-a

Include information for all deltas, including removed ones.

-cdate

Cutoff date used with -e or -l (see get for format of date).

-d[format]

Specify output format by supplying text and/or SCCS keywords. See the previous section, "Data Keywords," for a list of valid keywords. Use \t and \n in the format to create a tab and newline, respectively.

-e

With -r, list data for deltas earlier than or including sid; with -c, list data for deltas not newer than date.

-l

Like -e, but later than or including sid or date.

-r[sid]

Specify SCCS ID sid; default is the most recent delta.

Example

The following command:

prs -d"program :M: version :I: by :P:" -r s.yes.c

might produce this output:

program yes.c version 2.4.6 by daniel


Previous: Reference: helpUNIX in a Nutshell: System V EditionNext: Reference: prt
Reference: helpBook IndexReference: prt

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System