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

📄 ptx.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)ptx.1	8.1	9/11/90.\" Last modified by MJT on 24-Apr-85  2247.\".TH ptx 1.SH Nameptx \- create permuted index.SH Syntax.B ptx[\|\fIoption...\fR\|] [\|\fIinput\fR\|[\fIoutput\fR\|]\|].SH Description.NXR "ptx command".NXR "index command"The.PN ptxcommand generates a permuted index to file.I inputon file.I output(standard input and output default).It has three phases: the first does the permutation, generatingone line for each keyword in an input line.The keyword is rotated to the front.The permuted file is thensorted.Finally, the sorted lines are rotated so the keywordcomes at the middle of the page.The.PN ptxcommand produces output in the form:.br.IP\&.xx "tail" "before keyword" "keyword and after" "head".PPwhere .xx may be an.PN nroffor.PN troffmacrofor user-defined formatting.The.I before keywordand.I keyword and afterfields incorporate as much of the line as fitsaround the keyword when it is printed at the middle of the page.The.PN tailand.PN headcommands,at least one of which is an empty string "",are wrapped-around pieces small enough to fitin the unused space at the opposite end of the line.When original text must be discarded, `/' marks the spot..SH Options.NXR "ptx command" "options"The following options can be applied:.IP "\fB\-\|b\fI break\fR" 20Use the characters in the .I breakfile as separators.In any case, tab, new line,and space characters are always used as break characters..IP \fB\-f\fR 20Folds upper and lower case letters for sorting..IP "\fB\-\|g\fI n\fR" 20Uses specified number as interfield gap.  The default gap is 3 characters..IP "\fB\-\|i\fI ignore\fR" 20Do not use as keywords any words given in the.Iignorefile.If the \fB\-i\fR and \fB\-o\fR options are missing, use /usr/lib/eignas the .I ignorefile..IP "\fB\-\|o\fI only\fR" 20Use words listed only in the \fIonly\fR file..IP \fB\-r\fR 20Uses leading nonblanks as reference identifiers.  Attach that identifier as a 5th field on each output line..IP \fB\-t\fR 20Prepares the output for the phototypesetter.  The default line length is 100 characters..IP "\fB\-\|w\fI n\fR" 20Use the next argument,.I n,as the width of the output line.The default line length is 72 characters..SH Restrictions.NXR "ptx command" "restricted"Line length counts do not account for overstriking orproportional spacing..SH Files/usr/bin/sort.br/usr/lib/eign

⌨️ 快捷键说明

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