📄 val.1
字号:
.ds S) \s-1SCCS\s0.ds I) \fI\s-1SID\s0\fR.TH val 1.SH Nameval \- validate SCCS file.SH Syntax \fBval \-\fR.br.B val[\fB\-s\fR] [\fB\-r\fISID\fR\|] [\fB\-m\fIname\fR\|] [\fB\-y\fItype\fR\|] \fIfiles\fR.SH Description.NXR "val command (sccs)".NXR "SCCS file" "validating"The.PN valcommand determines if the specified.I file\^is an \*(S) file meeting the characteristics specified by the optionalargument list.Arguments to.PN valmay appear in any order.The arguments consist of keyletter arguments that begin with a ``-'' andnamed files..PPThe.PN valcommandhas a special argument, ``-,'' which causes reading of the standard inputuntil an end-of-file condition is detected.Each line read is independently processed, as if it were a command line argumentlist..PPThe.PN valcommandgenerates diagnostic messages on the standard output for each command lineand file processed and also returns a single 8\fB-\fRbit code upon exit asdescribed below..SH Options.NXR "val command (sccs)" "keyletters"The effects of any keyletter argument apply independently to each named fileon the command line. The keyletter arguments are defined as follows:.RS.IP \fB\-\fR 0.3iCauses stdin to be read until end of file. .IP \fB\-s\fR 0.3iSuppresses all error messages. .IP \fB\-r\fISID\fR 0.3iIndicates specified delta version number. A check is made to determine if the\*(I)is ambiguous, for example, .B \*-r\c1 is ambiguous because it physically does not exist but implies 1.1, 1.2,and so forth, which may exist) or invalid, for example, .B \*-r\c1.0 or.B \*-r\c1.1.0 are invalid because neither case can exist as a valid delta number).If the\*(I)is valid and not ambiguous, a check is madeto determine if it actually exists..IP \fB\-m\fIname\fR 0.3iCompares specified value with the SCCS val.1 keyword. .IP \fB\-y\fItype\fR 0.3iCompares specified type with SCCS keyword. .RE.PPThe 8\fB-\fRbit code returned by.PN valis a disjunction of the possible errors. It can be interpreted asa bit string where set bits are interpreted (from left to right) as: .NXR "val command (sccs)" "interpreting 8-bit exit code".nf.PP.RSbit 0 = missing file argumentbit 1 = unknown or duplicate keyletter argumentbit 2 = corrupted \*(S) filebit 3 = can't open file or file not \*(S)bit 4 = \*(I) is invalid or ambiguousbit 5 = \*(I) does not existbit 6 = %\&Y%, \fB\-y\fR mismatchbit 7 = %\&M%, \fB\-m\fR mismatch.RE.fi.PPNote that.PN valcan process two or more files on a given command line and canprocess multiple command lines when reading the standard input..NXR "val command (sccs)" "processing multiple files"In these cases, an aggregate code is returned \- a logical OR of thecodes generated for each command line and file processed..SH Restrictions.NXR "val command (sccs)" "restricted"The.PN valcommand can process up to 50 files on a single command line.Any number above 50 produces a core dump..SH DiagnosticsUse .MS sccshelp 1for explanations..SH See Alsoadmin(1), delta(1), get(1), prs(1), sccs(1).br\fIGuide to the Source Code Control System\fP
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -