get.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 755 行 · 第 1/2 页

1
755
字号
Thus, for example, R.mL means the maximumlevel number within release R;R.L.(mB+1).1 meansthe first sequence number on thenew branch (that is, maximum branch number plusone) of level L within release R.Note that if the \s-1SID\s+1 specified is of the form R.L,R.L.B, or R.L.B.S, each of thespecified components must exist..TP**hR is the highestexisting release that is lower thanthe specified, nonexistent, release\ R..TP***This is used to force creation of thefirst delta in a new release..TP#Successor..TP\(dgThe.B \-boption is effective only if the.B bflag is present in the file.An entry of \fB\-\fR means ``irrelevant''.For further information, see .MS admin 1 ..TP\(ddThis case applies if the.B d(default SID) flag is not present in the file.  If the.B dflag is present in the file, then theSID obtained from the.B dflag is interpreted as if it had been specified on the command line.Thus, one of the other cases in this table applies..SH Identification Keywords.NXR "get command (sccs)" "identification keywords"Identifying informationis inserted into the text retrieved from the \*(S) file by replacingidentification keywordswith their value wherever they occur.The following keywords may be used in the text stored in an \*(S) file:.TP 10.I Keyword.TP.B %\&M\&%Module name:either the value of the.B mflag in the fileor if absent,the name of the \*(S) file with theleading.B s.removed.For further information, see .MS admin 1 ..TP.B %\&I\&%\*(S) identification (\*(I)) (%\&R\&%.%\&L\&%.%\&B\&%.%\&S\&%) of the retrieved text..TP.B %\&R\&%Release..TP.B %\&L\&%Level..TP.B %\&B\&%Branch..TP.B %\&S\&%Sequence..TP.B %\&D\&%Current date (\s-1YY/MM/DD\s+1)..TP.B %\&H\&%Current date (\s-1MM/DD/YY\s+1)..TP.B %\&T\&%Current time (\s-1HH:MM:SS\s+1)..TP.B %\&E\&%Date newest applied delta was created (\s-1YY/MM/DD\s+1)..TP.B %\&G\&%Date newest applied delta was created (\s-1MM/DD/YY\s+1)..TP.B %\&U\&%The time the newest applied delta was created (\s-1HH:MM:SS\s+1)..TP.B %\&Y\&%Module type:value of the.B tflag in the \*(S) fileFor further information, see .MS admin 1 ..TP.B %\&F\&%\*(S) file name..TP.B %\&P\&%Fully qualified \*(S) file name..TP.B %\&Q\&%Thevalue of the.B qflag in the file.For further information, see .MS admin 1 ..TP.B %\&C\&%Current line number.This keyword is intended for identifying output program messagessuch as ``this shouldn't have happened'' type errors.It is not intended to be used on every line to providesequence numbers..TP.B %\&Z\&%The 4-character string \fB@(#)\fRrecognizable by.MS what 1 ..TP.B %\&W\&%A shorthand notation for constructing.MS what 1stringsfor \s-1UNIX\s+1 program files.%\&W\&%~=~%\&Z\&%%\&M\&%<horizontal-tab>%\&I\&%.TP.B %\&A\&%Another shorthand notation for constructing.MS what 1stringsfor non-\s-1UNIX\s+1 program files.%\&A\&%~=~%\&Z\&%%\&Y\&%~%\&M\&%~%\&I\&%%\&Z\&%.SH Restrictions.NXR "get command (sccs)" "restricted"If the user haswrite permission in the directorycontaining the .I g-files,but the real user does not,then only one file can be named when the.B \-eoption is used..SH DiagnosticsSee.MS sccshelp 1 for explanations..SH Files.NXR "get command (sccs)" "auxiliary file list"Several auxiliary files may be created by.PN get ,These files are known generically as the\fIg-file, l-file, p-file,\fRand\fIz-file\fR.The letter before the hyphen is called the tag.An auxiliary file name is formed from the \*(S) file name:the last component ofall \*(S) file names must be of the form \fBs.\fP\fImodule-name\fP,the auxiliary files are named by replacing the leading \fBs\fRwith the tag.The.I g-fileis an exception to this scheme:the.I g-fileis named by removingthe.B s.prefix.For example,.BR s.xyz.c ,the auxiliary file names would be.BR xyz.c ,.BR l.xyz.c ,.BR p.xyz.c ,and.BR z.xyz.c ,respectively..PPThe\fIg-file\fR,which contains the generated text,is createdin the current directory(unless the.B \-poption is used).A.I g-fileis created in all cases, whether or not any lines of textwere generated by the.PN get .It is owned by the real user.If the.B \-koption is used or implied its mode is 644;otherwise its mode is 444.Only the real user need havewrite permission in the currentdirectory..PPThe.I l-filecontainsa table showing which deltas were appliedin generating the retrieved text.The.I l-fileis createdin the current directoryif the.B \-loption is used;its mode is 444 and it is owned by the real user.Only the real user need havewrite permission in thecurrent directory..PPLines in the.I l-filehave the following format:.PP.PD 0.RS.nr a 0 1.af a a.TP\n+a.A blank character if the delta was applied;.br\fB\(**\fR otherwise..TP\n+a.A blank character if the delta was applied or wasn't applied and ignored;.br\fB\(**\fR if the delta wasn't applied and wasn't ignored..TP\n+a.A code indicating a ``special'' reasonwhy the delta was or was not applied:.RS 10\'I': Included..br\'X': Excluded..br\'C': Cut off (by a.B \-coption)..RE.TP\n+a.Blank..TP\n+a.\*(S) identification (\*(I))..TP\n+a.Tab character..TP\n+a.Date and time (in the form\s-1YY/MM/DD~HH:MM:SS\s+1)of creation..TP\n+a.Blank..TP\n+a.Login name of person who created delta..PD.RE.IPThecomments and \*(M) data follow on subsequent lines,indented one horizontal tab character.A blank line terminates each entry..PPThe.I p-fileis used topass information resulting from a.PN getwith an.B \-eoption along todelta.Its contents are also used to prevent a subsequentexecution of.PN getwith an.B \-eoptionfor the same \*(I) until deltais executed or the joint edit flag,.BR j ,see.MS admin 1 ,is set in the \*(S) file..PPThe.I p-fileis created in the directory containing the \*(S) fileand the effective user must havewrite permissionin that directory.Its mode is 644 and it is owned by the effective user..PPThe format of the.I p-fileis the following:the gotten \*(I),followed by a blank,followed by the \*(I) that the new delta will have when it is made,followed by a blank,followed by the login name of the real user,followed by a blank,followed by the date-timethe.PN getwas executed,followed by a blank and the.B \-ioption if it was present,followed by a blank and the.B \-xoption if it was present,followed by a new-line.There can be an arbitrary number of lines in the.I p-fileat any time;no two lines can have the same new delta \*(I)..PPThe.I z-fileserves as a.I lock-outmechanism against simultaneous updates.Its contents arethe binary (two bytes) process \s-1ID\s+1 of thecommand.PN getthat created it.The.I z-fileis created in the directory containing the \*(S) file for the duration of .PN get .The same protection restrictions for the.I p-fileapply for the\fIz-file\fR.The.I z-fileiscreated mode 444..tr ~~.SH See Alsoadmin(1), delta(1), prs(1), sccs(1), sccsfile(5), sccshelp(1),what(1).br\fIGuide to the Source Code Control System\fP.NXE "get command (sccs)".NXE "SCCS file" "getting"

⌨️ 快捷键说明

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