Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ixClean(1) — NEXTSTEP 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ixBuild(1)

ix(3)

text(3)

ixClean(1)  —  UNIX Programmer’s Manual

NAME

ixClean, ixDump, ixFind, ixRemove, ixStat − indexing utilities

DESCRIPTION

These commands, located in /usr/lib/indexing, are utilities for working with indices created by ixBuild(1) and ix(3).  Unless otherwise specified, the default master directory name is ".".  All of these commands operate on compressed or uncompressed indices.  For a complete discussion of the indexing facilities, see the file IndexingPaper in /NextLibrary/Documentation/NeXT/RelNotes. 

ixClean [-v][-V][-u][-c][indices ...]
Reorganizes the indices, removing extinct references, and coalescing space. 
-v generates a list of deleted references. 
-V generates an extremely verbose description of the reorganization. 
-u upgrades indices built under release 0.9 of the NeXT system software to the new format used by release 1.0.  Note, however, that completely rebuilding is preferred where feasible, since upgrading does not take advantage of the much improved weighting scheme. 
-c generates an extremely verbose description of the reorganization. 

ixDump [-p][indices]
Lists all the standard FileCells in the indices. 
-p shows pointers, as well as the standard FileCells. 

ixFind [-w][-d][-t][-n][-D][-r][-p][indices]
For each line on the standard input, looks up the contents of the line as a query in the indices, and prints the results. 
-w sorts the results by weight. 
-d sorts the results by descripton. 
-t sorts the results by type. 
-n sorts the results by name. 
-D sorts the results by date; this is the default. 
-r reverses the sorting direction. 
-p selects prefix search instead of full word search. 

ixRemove [-r][-v][-i index][files ...]
Removes the files named on the command line or on the standard input from the index.
-r causes the named files to be unlinked from the filesystem. 
-v generates a listing of the files removed. 

ixRepair [-p][-v][-i index][files ...]
Restores the files named on the command line or on the standard input to the index. This is effective after ixRemove has removed files from the index, but before ixClean has reorganized the index.  Always generates a listing of the files restored. 
-p shows pointers, as well as the standard FileCells. 

ixStat [-v][-f][indices ...]
Print statistics about the indices.  By default, this is simply a count of the number of files and keys, the total number of references, the average number of references per object, and the average number of references per keyword. 
-v prints the pointer lists in addition to the normal output. 
-f causes the omission of the keyword statistics. 

SEE ALSO

ixBuild(1), ix(3), text(3)
/NextLibrary/Documentation/NeXT/RelNotes/IndexingPaper

NeXT, Inc.  —  July 7, 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026