Previous: , Up: prt   [Contents][Index]


3.9.3 prt output format

The output format is fixed, though parts of the output can be omitted.

  1. The header
    • Newline
    • SCCS file name, followed by a colon
    • Two further newlines.
  2. Delta table information (for -d, -e, also the default, but not if -b, -f, -t, -u are specified). This section is printed once for each selected delta.

    This begins with a newline as a separator (except when a cutoff is being used, in which case the SCCS file name is used, followed by a colon and a TAB character).

    • Delta type
      ’R’ for removed deltas (see rmdel), and ’D’ for ordinary ones.
    • TAB
    • Delta creation time (YY/MM/DD hh:mm:ss)
    • The login name of the user who created this delta
    • Sequence number of this delta
    • Sequence number of the previous delta
    • Line statistics ‘inserted/deleted/unchanged’. These statistics are capped at 99999, due to a limitation in the file format.
    • Newline
  3. Delta detail information
    This section is printed once for each selected delta, unless the -s option has been specified.
    • Included deltas
    • Excluded deltas
    • Ignored deltas
    • MR numbers
    • Delta comments
  4. Global information
    Once information has been printed for each of the selected deltas, the global information is printed. This consists of
    • List of authorised users and group IDs (if the list is blank, ‘everyone’ is printed)
    • The SCCS file flags (see Flags) are printed.
    • The description of the SCCS file is printed (this is the description set by the -t option of admin).
    • The body of the SCCS file is printed, in a readable format. The control character ‘^A’ that begins some lines is printed as ‘*** ’, and other lines are printed indented by one tab stop. Other than that, the body is printed as found in the SCCS file. This means that binary files are left encoded.

Previous: Options for prt, Up: prt   [Contents][Index]