


prt_comment(1)            User Commands            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  com-
     ment 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  direc-
     tory:

          since 931022 | prt_comment -v 'KBI|DDI' | prt_brief

SEE ALSO
     sccs(1)

     since(1)

     prt_user(1)

     prt_brief(1)

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- INFRINGE-
     MENT.   IN  NO  EVENT  WILL  SUN  BE  LIABLE FOR ANY DIRECT,
     INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARIS-
     ING OUT OF THE USE OR INABILITY TO USE THIS SAMPLE PROGRAM.








SunOS 5.5         Last change: 15 October 1996                  1



