dtoc.1
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 120 行
1
120 行
.TH dtoc 1.SH Namedtoc \- unpack objects from a DOTS file.SH Syntax.B dtoc[.B \-f] [.B \-p] [[.I object.dots ] .I directory].SH Description.NXR "dtoc command"The.PN dtoccommand unpacks the contents of a Data Object Transport Syntax (DOTS)file or standard input..PP.I object.dotscan be either a file name, or a minus sign (\-). If aminus sign (\-) is specified, or if nofile name is present,.PN dtocreads from the standard input.If.I directoryis specified, the contents of the DOTS input is unpacked andstored in the specified directory. If.I directoryis not specified, the content of the DOTS input is unpacked into the currentdirectory. The names of the files created are written to standard output..PPA DOTS file may contain a data object which consists of more than onecomponent. Therefore, it is possible that more than one output filemay be generated. As the object is unpacked, duplicate file ordirectory names may be encountered. If a duplicate is encountered, anew output file is generated with a sequential number appended to itsname. For example, if.PN dtocdiscovers an existing file.PN foo.ddifduring unpacking,.PN foo.ddif.1is created..PPAs an object is unpacked, the external references within each objectcomponent are updated. Because DOTS files may have originated fromnon-ULTRIX systems, names of components may be modified as componentsare unpacked. References to those renamed components are updatedaccordingly..SH Options.TP 5.B \-fSuppresses output of unpacked file names..TP .B \-pCauses only the name of the primary input file to be written to standard output..SH Implementation.sp.SS Standard InputIf a minus sign (\-) is specified, or if no parameters are specified,.I standard inputis read until a.CT Dor.B EOF(end of file) is read. It cannot be specified more than once. Thecontents of.I standard inputmust conform to the syntax of a single DOTS file..PP.SS Reconstitution Of NamesObject file names and file names of referenced components may bemodified as objects are extracted or unpacked. If names are modified,the references in the unpacked objects are updated. The handling ofnames depends in part on the name-type of the object, as follows:.RS.PP.B ULTRIX file names.IPNames are unmodified..PP.B VMS file names.IPThe set of rules is as follows:.RS.IPConvert uppercase letters to lower case..IPConvert dollar signs ($) to underscores (_) because dollar signs havemeaning on ULTRIX systems..IPIgnore disk volume and directory specifications, if they are present,because they are not likely to be meaningful on ULTRIX systems..IPAppend duplicate file names with a period and a unique number..IPLeave all other characters alone..RE.RE.SH RestrictionsA DOTS file is expected to contain only a single primary DDIF or DTIFobject in this release. Any subsequent objects in the DOTS file areexternal references of the primary object..PP.SH DiagnosticsThe exit status is 0 if all objects were unpacked successfully, and 1if any of the objects could not be unpacked. Consult.I standard errorto see what failed, and why..PPIf a nonexistent target directory is specified,.PN dtocreturns error status..SH See Alsoctod(1), DDIF(5), DTIF(5), DOTS(5)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?