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

📄 invert.1

📁 早期freebsd实现
💻 1
字号:
.\"	"@(#)invert.1	4.5	5/27/93";.TH INVERT 1 "2 September 1983".UC 4.SH NAMEinvert, lookup \- create and access an inverted index.SH SYNOPSIS.B invert[option ... ] file ....ns.PP.B lookup[option ... ].SH DESCRIPTION.I Invertcreates an inverted index to one or more files..I Lookupretrieves records from files for which an inverted index exists.The inverted indices are intended for use with.IR bib (1)..PP.I Invertcreates one inverted index to all of its input files.The index must be stored in the current directory and may not be moved.Input files may be absolute path names or paths relative to the currentdirectory.Each input file is viewed as a set of records;each record consists of non-blank lines;records are separated by blank lines..PP.I Lookupretrieves records based on its input.I (stdin).Each line of input is a retrieval request.All records that contain all of the keywords in the retrieval requestare sent to.I stdout.If there are no matching references, ``No references found.'' is sent to.I stdout..I \ Lookupfirst searches in the user's private index (default INDEX)and then, if no references are found,in the system index (/usr/dict/papers/INDEX).The system index was produced using.I invertwith the default options;in general, the user is advised to use the defaults..PPKeywords are a sequence of non-white space characterswith non-alphanumeric characters removed.Keywords must be at least two characters and are truncated(default length is 6).Some common words are ignored.Some lines of input are ignored for the purpose of collecting keywords..PPThe following options are available for.I invert:.IP "\-c \fIfile\fP" 8m.ns.IP \-c\fIfile\fPFile contains common words, one per line.Common words are not used as keys.(Default /usr/new/lib/bmac/common.).IP "\-k \fIi\fP".ns.IP \-k\fIi\fPMaximum number of keys kept per record. (Default 100).IP "\-l \fIi\fP".ns.IP \-l\fIi\fPMaximum length of keys. (Default 6).IP "\-p \fIfile\fP".ns.IP \-p\fIfile\fPFile is the name of the private index file (output of.IR invert ).(Default is INDEX.)The index must be stored in the current directory.(Be careful of the second form.The shell will not know to expand the file name.E.g. \-p~/index won't work; use \-p\ ~/index.).IP \-sSilent.Suppress statistics..IP -%\fIstr\fPIgnore lines that begin with %xwhere x is in.I str.(Default is CNOPVX. See.IR bib (1)for explanation of field names.).PP.I Lookuphas only the options.BR c ,.BR l ,and.B  pwith the same meanings as.I bib.In particular, the.B poption can be followed by a list of comma separated index files.These are searched in order from left to right until at least one referenceis found..SH FILESINDEX                    inverted index.br/usr/tmp/invertxxxxxx    scratch file for invert.br/usr/new/lib/bmac/common     default list of common words.br/usr/dict/papers/INDEX   default system index.SH SEE ALSO\fIA UNIX Bibliographic Database Facility\fP,Timothy A. Budd and Gary M. Levin,University of Arizona Technical Report 82-1, 1982..brbib(1).SH DIAGNOSTICSMessages indicating trouble accessing files are sent on.I  stderr.There is an explicit message on.I stdoutfrom.I lookupif no references are found..LP.I Invertproduces a one line message of the form,\*(oq%D\ documents\ \ \ %D distinct\ keys\ \ %D\ key\ occurrences\*(cq.This can be suppressed with the \-s option..LPThe message \*(oqlocate: first key (%s) matched too many refs\*(cqindicates that the first key matched more references than could be storedin memory.The simple solution is to use a less frequently occurring key as the firstkey in the citation..SH BUGSNo attempt is made to check the compatibility between an indexand the files indexed.The user must create a new index wheneverthe files that are indexed are modified..LPAttempting to invert a file containing unprintable characters cancause chaos.

⌨️ 快捷键说明

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