From 3ba3e2cc4b63fa16707f51e735e751e62dd9526e Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Mon, 18 Jan 1999 06:59:18 +0000 Subject: Import Global v3_4_2 sources. Ok'd by: peter Discussed with: msmith --- contrib/global/btreeop/btreeop.1 | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'contrib/global/btreeop/btreeop.1') diff --git a/contrib/global/btreeop/btreeop.1 b/contrib/global/btreeop/btreeop.1 index 0b2111fe1ef3..45b6e9f4225f 100644 --- a/contrib/global/btreeop/btreeop.1 +++ b/contrib/global/btreeop/btreeop.1 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd Nov 26, 1997 +.Dd Nov 3, 1998 .Dt BTREEOP 1 .Os BSD 4 .Sh NAME @@ -40,7 +40,7 @@ .Op Fl C .Op Fl D[keyno] Ar key .Op Fl K[keyno] Ar key -.Op Fl L +.Op Fl L[2] .Op Fl k Ar prefix .Op Ar dbname .Sh DESCRIPTION @@ -66,21 +66,11 @@ create database and write records to it. delete records by the key. By default, keyno is 0 (primary key). .It Fl K[keyno] Ar key search records by the key. By default, keyno is 0 (primary key). -.It Fl L -list all primary keys. -Following two command lines are identical except that the latter is much faster. - - btreeop | awk '{print $1}' | uniq - - btreeop -L +.It Fl L[2] +list all primary keys. If '2' is specified, list all the key and data pairs. .It Fl k Ar prefix scan records which have the prefix as a primary key. This option is valid only with sequential read operation (-L command or non command). -Following two command lines are identical except that the latter is much faster. - - btreeop | awk '$1 ~ /^fo/ {print }' - - btreeop -k fo .It Ar dbname database name. default is 'btree'. .Sh DATA FORMAT -- cgit v1.2.3