*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: cbt | Section: 1 | Source: UNIX v10 | File: cbt.1
CBT(1) General Commands Manual CBT(1) NAME cbt - btree utilities SYNOPSIS cbt creat name ... cbt report name ... cbt cat [ -R ] name ... cbt squash [ -odest ] name cbt build [ -R ] name cbt add [ -R ] name cbt delete [ -R ] name cbt look [ -R ] name DESCRIPTION A B-tree name corresponds to a pair of files named name.T and name.F. Name.T contains an access tree, and name.F contains the data. The version of the command creates empty B-trees. The version of the command scans each B-tree and reports how many records it contains. The version of the command scans the B-tree in key-sort order, writing on its standard output. With no option, writes each key followed by a tab, followed by the record, followed by a new-line. If option -R (raw) is present, each key-record pair has the format struct { short keylen; char key[keylen]; short reclen; char rec[reclen]; }; Keys and records are not null-terminated and consecutive key-record pairs are not separated by new-lines. Keys may be no longer than 255 bytes. The version of the command compresses the access tree to minimal size. Option -o names the squashed database dest, leaving the original data- base unaltered. The version of the command reads a sorted list of keys and records from the standard input and fills the file with them. Input is in the form produced by the corresponding option. The (delete, version of the command inserts (removes, looks up) records. Input (and output of is in the form produced by the corre- sponding option. The records may be unsorted. In newline-separated input, only the keys need be present. EXAMPLES sort '-t<tab>' +0 -1 inputfile | cbt build btreefile <tab> denotes a tab character FILES temporaries for squash SEE ALSO cbt(3) CBT(1)

Navigation Options