prt_comment(1)
NAME
prt_comment − Select commentary from "sccs prt" by comment text
SYNOPSIS
prt_comment [-v] regexp [file ...]
DESCRIPTION
This filter picks through the output of "sccs prt" or "since", leaving only that delta commentary for which the comment matches regexp. The regular expression semantics are those of perl (egrep++). The regular expression is not anchored, and the search is case-insensitive.
If -v is specified, only that commentary for which the comment does not match regexp is output.
The "sccs prt" output is read from the specified files, unless none are specified, in which case it is read from stdin.
EXAMPLE
The following pipeline displays the delta commentary since 10/22/93 containing neither the text "KBI" nor "DDI", for all files under sccs control in the current working directory:
since 931022 | prt_comment -v ’KBI|DDI’ | prt_brief
SEE ALSO
LEGAL DISCLAIMER
THIS SAMPLE PROGRAM IS BEING PROVIDED "AS IS" AND ONLY AS A COURTESY TO THE RECIPIENT. SUN MAKES NO WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED WITH RESPECT TO THIS SAMPLE PROGRAM INCLUDING QUALITY, PERFORMANCE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON- INFRINGEMENT. IN NO EVENT WILL SUN BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THIS SAMPLE PROGRAM.
SunOS 4.2 — Last change: 15 October 1996