checknr.1
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 96 行
1
96 行
.\" SCCSID: @(#)checknr.1 8.2 11/2/90.TH checknr 1.SH Namechecknr \- check nroff/troff files.SH Syntax.B checknr[\fB\-s\fR] [\fB\-f\fR\|] [\fB\-a\fR.x1.y1.x2.y2. ... .xn.yn] [\fB\-c\fR.x1.x2.x3... .xn] [\fIfile\fR...].SH Description.NXR "checknr command".NXA "nroff text processor" "checknr command"The.PN checknrcommand checks a list of.MS nroff 1 or .MS troff 1input files for certain kinds of errorsinvolving mismatched opening and closing delimitersand unknown commands.If no files are specified,.PN checknrchecks the standard input.Delimiters checked are:.IP 5 Font changes using \efx ... \efP..IP Size changes using \esx ... \es0..IP Macros that come in open ... close forms, for example,the .TS and .TE macros which must always come in pairs..PPThe.PN checknrcommand knows about the.MS ms 7 and .MS me 7 macro packages..PPThe.PN checknrcommandis intended to be used on documents that are prepared with.PN checknrin mind, much the same as.MS lint 1 .It expects a certain document writing style for \ef and \es commands,in that each \efx must be terminated with \efP andeach \esx must be terminated with \es0.While it will work to directly go into the next font or explicitlyspecify the original font or point size,and many existing documents actually do this,such a practice will produce complaints from.PN checknr .Since it is probably better to use the \efP and \es0 forms anyway,you should think of this as a contribution to your documentpreparation style..SH Options.NXR "checknr command" "options".TP 5.B \-aAllows additional pairs of macros to be added to the list. This must be followed by groups of six characters, each group defininga pair of macros.The six characters area period,the first macro name,another period,and the second macro name.For example, to define a pair .BS and .ES, use \-\fBa\fP.BS.ES..TP.B \-cDefines commands otherwise complained aboutas undefined..TP.B \-fIgnores \ef font changes..TP.B \-sIgnores \es size changes..SH RestrictionsThere is no way to define a 1 character macro name using.BR \-a ..brDoes not correctly recognize certain reasonable characters,such as conditionals..SH DiagnosticsComplaints about unmatched delimiters..PPComplaints about unrecognized commands..PPVarious complaints about the syntax of commands..SH See Alsoeqn(1), nroff(1), troff(1), ms(7), me(7)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?