⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vc.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)vc.1	8.1	9/11/90.nr f 0.bd S B 3.de SP.if n .ul\%[\fB\-\\$1\fR\\c.if n .ul 0\\$2\\$3...de SF.if n .ul\%[\fB\-\\$1\fR].if n .ul 0...de AR.if \\nf \{ \.    RE.    nr f 0 \}.PP.RS 5.TP 15\fB\-\\$1\\fR\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9.nr f 1...de A2.if \\nf \{ \.    RE.    nr f 0 \}.PP.RS 5.TP 15\fB\-\\$1\fI\\$2\fR\\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9.nr f 1...TH vc 1.SH Namevc \- version control program.SH Syntax  .B vc[\fB\-a\fR][\fB\-t\fR][\fB\-c\fIchar\fR\|][\fB\-s\fR][\|\fIkeyword=value... keyword=value\fR\|].SH Description.NXR "vc command (sccs)".NXR "SCCS file" "version control"The.PN vccommand copies lines from the standard input to thestandard output under control of its .I arguments\^and.I "control statements\^"encountered in the standard input.In the process of performing the copy operation, user declared.I keywords\^may be replaced by their string.I value\^when they appear in plain text and/orcontrol statements..PPThe copying of lines from the standard input to standard output isconditional.  It is based on tests (incontrol statements)of keyword values specified incontrol statementsor as.PN vccommand arguments..PPA control statement is a single linebeginning with a control character, except as modified by the.B \-tkeyletter (see below).The default control character is colon (\fB:\fR), except as modified by the.B \-ckeyletter (see below).Input lines beginning with a backslash (\fB\\\fR) followed by a control characterare not control lines andare copied to the standard output with the backslash removed.Lines beginning with a backslash followed by a noncontrol characterare copied in their entirety..PPA keywordis composed of 9 or fewer alphanumerics;the first must be alphabetic.A valueis any \s-1ASCII\s0 string that can be created with.MS ed 1 .A numeric value is an unsigned string of digits.Keyword values should contain blanks or tabs..PPReplacement of keywords by values occurs whenever a keyword surrounded by control characters is encountered on a version control statement.The.B \-akeyletter (see below)forces replacement of keywords in all lines of text.An uninterpreted control charactermay be included in a value by precedingit with \fB\\\fR.If a literal \fB\e\fR is desired,then it too must be preceded by \fB\e\fR..SH Options.NXR "vc command (sccs)" "options"Keyletter arguments:.IP \fB\-a\fR 0.3iReplaces the keywords surrounded by control characters in all text lines.  .IP \fB\-c\fIchar\fR 0.3iSpecifies a control character to be used in place of \fB:\fR..IP \fB\-s\fR 0.3iSuppresses all warning messages. .IP \fB\-t\fR 0.3iIgnores all characters from the beginning of the line to the first tab character.If one is found, all characters up to andincluding the.I tab\^are discarded..RE.\" Intentionally created non-printing header.SH Version Control Statements:.NXR "version control statement".RE.TP 5\fB:\fRdcl  keyword[, \fB...\fR, keyword].brUsed to declare keywords.  All keywords must be declared..PP.RE.TP 5\fB:\fRasg keyword=value.brUsed to assign values to keywords.  An.B asgstatement overrides the assignment for the correspondingkeyword on the.PN vccommand line and all previous.BR asg 'sfor that keyword.Keywords declared, but not assigned values havenull values..if \\n()s .bp.PP.nf\fB:\fRif condition.sp -.5v	\s+3.\s0.sp -.5v	\s+3.\s0.sp -.5v	\s+3.\s0\fB:\fRend.fi.br.RS 5Used to skip lines of the standard input. If the condition is trueall lines between the.I if\^statement andthe matching.I end\^statement arecopied to the standard output.If the condition is false, all intervening lines are discarded, includingcontrol statements.Note that intervening.I if\^statements and matching.I end\^statements are recognized solely for the purpose ofmaintaining the proper.I if-end\^matching..br.ne 9The syntax of a condition is\fB:\fR.nf.sp.in +1.ta 8,17,25<cond>	\fB::\fR= [ "not" ] <or><or>	\fB::\fR= <and> \(or <and> "\(or" <or><and>	\fB::\fR= <exp> \(or <exp> "&" <and><exp>	\fB::\fR= "(" <or> ")" \(or <value> <op> <value><op>	\fB::\fR= "=" \(or "!=" \(or "<" \(or ">"<value>	\fB::\fR= <arbitrary \s-1ASCII\s0 string> \(or <numeric string>.in \-1.fi.spThe available operators and their meanings are\fB:\fR.sp.in +3.nf.if n .ta 7.if t .ta 8=	equal!=	not equal&	and\(or	or>	greater than<	less than( )	used for logical groupingsnot	may only occur immediately after the \fIif\^\fP, and	when present, inverts the value of the	entire condition.in \-3.fi.spThe \fB>\fR and \fB<\fR operate only on unsigned integer values.For example, \fB:\fR 012 > 12 is false).All other operators take strings as arguments.For example, fB:\fR 012 != 12 is true).The precedence of the operators (from highest to lowest) is\fB:\fR.in +3.nf= != > <      all of equal precedence&\(or.fi.in \-3Parentheses can be used to alter the order of precedence..brValues must be separated from operators or parentheses by at least one blankor tab..RE.TP 5\fB::\fRtext.brUsed for keyword replacement on lines that are copied to the standard output.The two leading control characters are removed,and keywords surrounded by control characters in text are replacedby their valuebefore the line is copied to theoutput file.This action is independent of the.B \-akeyletter..PP.RE.TP 5\fB:\fRon.br.RE.TP 5\fB:\fRoff.brTurn on or off keyword replacement on all lines..PP.RE.TP 5\fB:\fRctl char.brChange the control character to char..PP.in \-10.RE.TP 5\fB:\fRmsg message.brPrints the given message on the diagnostic output..PP.RE.TP 5\fB:\fRerr message.brPrints the given message followed by\fB:\fR.ti +5ERROR: err statement on line \fB...\fR (915).bron the diagnostic output.The.PN vccommand halts execution,and returns an exit code of 1..PP.i0.SH DiagnosticsUse.MS help 1for explanations..SH Exit Codes.NXR "vc command (sccs)" "exit codes"0 \- normal.br1 \- any error

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -