val [options] filesValidate that the SCCS files meet the characteristics specified in the options. val produces messages on the standard output for each file and returns an 8-bit code upon exit. The codes are described in "Return Value Bits"; bits are counted left to right.
-Read standard input and interpret each line as a val command-line argument. Exit with an EOF. This option is used by itself.
-mnameCompare name with %M% keyword in file.
-rsidCheck whether the SCCS ID is ambiguous or invalid.
-sSilence any error message.
-ytypeCompare type with %Y% keyword in file.
| Bit | Meaning |
|---|---|
| 0 | Missing file argument. |
| 1 | Unknown or duplicate option. |
| 2 | Corrupted SCCS file. |
| 3 | Cannot open file, or file is not an SCCS file. |
| 4 | SID is invalid or ambiguous. |
| 5 | Nonexistent SID. |
| 6 | Mismatch between type and |
| 7 | Mismatch between filename and |