aboutsummaryrefslogtreecommitdiff
path: root/contrib/global/btreeop/btreeop.1
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-18 06:59:18 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-18 06:59:18 +0000
commit6ba7b1c961dd91c80782288f8c79c9c87b7eaa1b (patch)
treefee17e64a8e01d203e68ef96e216386521db1405 /contrib/global/btreeop/btreeop.1
parent60adf819d22e8031d8591d6473b8b86d31840680 (diff)
parent3ba3e2cc4b63fa16707f51e735e751e62dd9526e (diff)
downloadsrc-6ba7b1c961dd91c80782288f8c79c9c87b7eaa1b.tar.gz
src-6ba7b1c961dd91c80782288f8c79c9c87b7eaa1b.zip
This commit was generated by cvs2svn to compensate for changes in r42788,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=42789
Diffstat (limited to 'contrib/global/btreeop/btreeop.1')
-rw-r--r--contrib/global/btreeop/btreeop.118
1 files changed, 4 insertions, 14 deletions
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