MySC Single UNIX Specification Conformance

By Ross Ridge
Public Domain

The MySC utilities are not conformant to the The Open Group's Single UNIX Specification's definition the SCCS utilities. This document lists the differences between the implemenation of the MySC utilities and the specification. This is not a todo or bug list. The Single UNIX specification of the SCCS utilities is too vague for me to consider it a useful standard. This list is also incomplete.

Argument Processing

The biggest area of non-conformance with MySC in the in how the utilities process arguments. In terms of command line options, all the MySC utilities support the "Utility Syntax Guidelines" with no exceptions. Unfortunately the Single UNIX specifications lists a number of exceptions to these guidelines, that is, options that take optional option-arguments for the SCCS utilities.

Missing Commands

The val and sccs utilities are not provided with the MySC utilities. The val command isn't included because it has no clear purpose and has a very arcane specification. Because the sccs utility is simply a front end for the SCCS utilities it wasn't considered within the same scope of the other SCCS utilities. For this reason and because it should be easy make the original freely redistributable implementation of the sccs utility work with the MySC utilities, a new implementation wasn't created.

Missing Options

The admin command is missing support for the -fn, the null deltas flag, and -h, structure checking. The -h option isn't supported because it is not clear exactly what structure checking should be done. The -fn option isn't implemented because it would've been awkward to do so and doesn't seem to be very crucial.

The delta command is also missing support for two options, -g, ignored deltas, -p, print differences. I'm not sure what it means to ignore a previous delta when making a delta, and so the -g option isn't implemented. The -p option isn't provided because it would've been awkward to implement and is mostly superfluous.

A couple of options are missing from the get utility. Neither of the options related to creating delta summaries, -l, -L, are supported including the obsolete -lp form. These functions weren't implemented largely because I don't see much of a purpose for them.

Input and Output

When delta command prompts the user for a comment or MR number the input is terminated by any newline character instead of a unescaped newline character as I have no idea what an escaped newline character is. The report of the number of lines inserted, deleted and unchanged by delta isn't provided. All the MySC utilities will always print the name of all the files they process even if they only process one file. The unget command doesn't print anything to standard output.

MySC Single UNIX Specification Conformance / Ross Ridge / rridge@csclub.uwaterloo.ca