home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


prs

prs [options ] files

Print formatted information for one or more SCCS files .

Options

-a

Include information for all deltas, including removed ones.

-c date

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: help UNIX in a Nutshell: System V Edition Next: Reference: prt
Reference: help Book Index Reference: 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