Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: helpChapter 17
The SCCS Utility
Next: Reference: rmdel
 

prs

prs [options] files

Print formatted information for one or more SCCS files.

Options

-a

Include information for removed deltas.

-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 "Data Keywords" for a list of valid keywords.

-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: rmdel
Reference: helpBook IndexReference: rmdel

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