head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_8_4:1.1.1.2.0.82
	RELENG_9_1_0_RELEASE:1.1.1.2
	RELENG_9_1:1.1.1.2.0.80
	RELENG_9_1_BP:1.1.1.2
	RELENG_8_3_0_RELEASE:1.1.1.2
	RELENG_8_3:1.1.1.2.0.78
	RELENG_8_3_BP:1.1.1.2
	RELENG_9_0_0_RELEASE:1.1.1.2
	RELENG_9_0:1.1.1.2.0.76
	RELENG_9_0_BP:1.1.1.2
	RELENG_9:1.1.1.2.0.74
	RELENG_9_BP:1.1.1.2
	RELENG_7_4_0_RELEASE:1.1.1.2
	RELENG_8_2_0_RELEASE:1.1.1.2
	RELENG_7_4:1.1.1.2.0.72
	RELENG_7_4_BP:1.1.1.2
	RELENG_8_2:1.1.1.2.0.70
	RELENG_8_2_BP:1.1.1.2
	RELENG_8_1_0_RELEASE:1.1.1.2
	RELENG_8_1:1.1.1.2.0.68
	RELENG_8_1_BP:1.1.1.2
	RELENG_7_3_0_RELEASE:1.1.1.2
	RELENG_7_3:1.1.1.2.0.66
	RELENG_7_3_BP:1.1.1.2
	RELENG_8_0_0_RELEASE:1.1.1.2
	RELENG_8_0:1.1.1.2.0.64
	RELENG_8_0_BP:1.1.1.2
	RELENG_8:1.1.1.2.0.62
	RELENG_8_BP:1.1.1.2
	RELENG_7_2_0_RELEASE:1.1.1.2
	RELENG_7_2:1.1.1.2.0.60
	RELENG_7_2_BP:1.1.1.2
	RELENG_7_1_0_RELEASE:1.1.1.2
	RELENG_6_4_0_RELEASE:1.1.1.2
	RELENG_7_1:1.1.1.2.0.58
	RELENG_7_1_BP:1.1.1.2
	RELENG_6_4:1.1.1.2.0.56
	RELENG_6_4_BP:1.1.1.2
	RELENG_7_0_0_RELEASE:1.1.1.2
	RELENG_6_3_0_RELEASE:1.1.1.2
	RELENG_7_0:1.1.1.2.0.54
	RELENG_7_0_BP:1.1.1.2
	RELENG_6_3:1.1.1.2.0.52
	RELENG_6_3_BP:1.1.1.2
	RELENG_7:1.1.1.2.0.50
	RELENG_7_BP:1.1.1.2
	RELENG_6_2_0_RELEASE:1.1.1.2
	RELENG_6_2:1.1.1.2.0.48
	RELENG_6_2_BP:1.1.1.2
	RELENG_5_5_0_RELEASE:1.1.1.2
	RELENG_5_5:1.1.1.2.0.46
	RELENG_5_5_BP:1.1.1.2
	RELENG_6_1_0_RELEASE:1.1.1.2
	RELENG_6_1:1.1.1.2.0.44
	RELENG_6_1_BP:1.1.1.2
	RELENG_6_0_0_RELEASE:1.1.1.2
	RELENG_6_0:1.1.1.2.0.42
	RELENG_6_0_BP:1.1.1.2
	RELENG_6:1.1.1.2.0.40
	RELENG_6_BP:1.1.1.2
	RELENG_5_4_0_RELEASE:1.1.1.2
	RELENG_5_4:1.1.1.2.0.38
	RELENG_5_4_BP:1.1.1.2
	RELENG_4_11_0_RELEASE:1.1.1.2
	RELENG_4_11:1.1.1.2.0.36
	RELENG_4_11_BP:1.1.1.2
	RELENG_5_3_0_RELEASE:1.1.1.2
	RELENG_5_3:1.1.1.2.0.34
	RELENG_5_3_BP:1.1.1.2
	RELENG_5:1.1.1.2.0.32
	RELENG_5_BP:1.1.1.2
	RELENG_4_10_0_RELEASE:1.1.1.2
	RELENG_4_10:1.1.1.2.0.30
	RELENG_4_10_BP:1.1.1.2
	RELENG_5_2_1_RELEASE:1.1.1.2
	RELENG_5_2_0_RELEASE:1.1.1.2
	RELENG_5_2:1.1.1.2.0.28
	RELENG_5_2_BP:1.1.1.2
	RELENG_4_9_0_RELEASE:1.1.1.2
	RELENG_4_9:1.1.1.2.0.26
	RELENG_4_9_BP:1.1.1.2
	RELENG_5_1_0_RELEASE:1.1.1.2
	RELENG_5_1:1.1.1.2.0.24
	RELENG_5_1_BP:1.1.1.2
	RELENG_4_8_0_RELEASE:1.1.1.2
	RELENG_4_8:1.1.1.2.0.22
	RELENG_4_8_BP:1.1.1.2
	RELENG_5_0_0_RELEASE:1.1.1.2
	RELENG_5_0:1.1.1.2.0.20
	RELENG_5_0_BP:1.1.1.2
	RELENG_4_7_0_RELEASE:1.1.1.2
	RELENG_4_7:1.1.1.2.0.18
	RELENG_4_7_BP:1.1.1.2
	RELENG_4_6_2_RELEASE:1.1.1.2
	RELENG_4_6_1_RELEASE:1.1.1.2
	RELENG_4_6_0_RELEASE:1.1.1.2
	RELENG_4_6:1.1.1.2.0.16
	RELENG_4_6_BP:1.1.1.2
	RELENG_4_5_0_RELEASE:1.1.1.2
	RELENG_4_5:1.1.1.2.0.14
	RELENG_4_5_BP:1.1.1.2
	RELENG_4_4_0_RELEASE:1.1.1.2
	RELENG_4_4:1.1.1.2.0.12
	RELENG_4_4_BP:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.2
	RELENG_4_3:1.1.1.2.0.10
	RELENG_4_3_BP:1.1.1.2
	RELENG_4_2_0_RELEASE:1.1.1.2
	RELENG_4_1_1_RELEASE:1.1.1.2
	PRE_SMPNG:1.1.1.2
	RELENG_4_1_0_RELEASE:1.1.1.2
	RELENG_3_5_0_RELEASE:1.1.1.2
	RELENG_4_0_0_RELEASE:1.1.1.2
	RELENG_4:1.1.1.2.0.8
	RELENG_4_BP:1.1.1.2
	RELENG_3_4_0_RELEASE:1.1.1.2
	RELENG_3_3_0_RELEASE:1.1.1.2
	RELENG_3_2_PAO:1.1.1.2.0.6
	RELENG_3_2_PAO_BP:1.1.1.2
	RELENG_3_2_0_RELEASE:1.1.1.2
	RELENG_3_1_0_RELEASE:1.1.1.2
	RELENG_3:1.1.1.2.0.4
	RELENG_3_BP:1.1.1.2
	RELENG_2_2_8_RELEASE:1.1.1.2
	RELENG_3_0_0_RELEASE:1.1.1.2
	RELENG_2_2_7_RELEASE:1.1.1.2
	RELENG_2_2_6_RELEASE:1.1.1.2
	RELENG_2_2_5_RELEASE:1.1.1.2
	RELENG_2_2_2_RELEASE:1.1.1.2
	RELENG_2_2_1_RELEASE:1.1.1.2
	RELENG_2_2_0_RELEASE:1.1.1.2
	RELENG_2_1_7_RELEASE:1.1.1.1.6.2
	RELENG_2_1_6_1_RELEASE:1.1.1.1.6.2
	RELENG_2_1_6_RELEASE:1.1.1.1.6.2
	RELENG_2_2:1.1.1.2.0.2
	RELENG_2_2_BP:1.1.1.2
	RELENG_2_1_5_RELEASE:1.1.1.1.6.2
	v1_85:1.1.1.2
	RELENG_2_1_0_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.6
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.4
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	ALPHA_2_0:1.1.1.1.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.1
date	94.05.27.04.56.56;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.27.04.56.57;	author rgrimes;	state Exp;
branches
	1.1.1.1.6.1;
next	1.1.1.2;

1.1.1.2
date	96.02.27.01.59.07;	author pst;	state Exp;
branches
	1.1.1.2.82.1;
next	;

1.1.1.1.6.1
date	96.06.03.05.06.22;	author jkh;	state Exp;
branches;
next	1.1.1.1.6.2;

1.1.1.1.6.2
date	96.06.05.02.46.38;	author jkh;	state Exp;
branches;
next	;

1.1.1.2.82.1
date	96.02.27.01.59.07;	author svnexp;	state dead;
branches;
next	1.1.1.2.82.2;

1.1.1.2.82.2
date	2013.03.28.13.02.58;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#	@@(#)README	8.2 (Berkeley) 2/21/94

To build this portably, try something like:

    make INC="-I../PORT/MACH/ -I../PORT/MACH/include" LIB=../PORT/MACH/libdb.a

where MACH is the machine, i.e. "sunos.4.1.1".

To run the tests, enter "sh run.test".  If your system dictionary isn't
in /usr/share/dict/words, edit run.test to reflect the correct place.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The script file consists of lines with a initial character which is
the "command" for that line.  Legal characters are as follows:

c: compare a record
	+ must be followed by [kK][dD]; the data value in the database
	  associated with the specified key is compared to the specified
	  data value.
e: echo a string
	+ writes out the rest of the line into the output file; if the
	  last character is not a carriage-return, a newline is appended.
g: do a get command
	+ must be followed by [kK]
	+ writes out the retrieved data DBT.
p: do a put command
	+ must be followed by [kK][dD]
r: do a del command
	+ must be followed by [kK]
s: do a seq command
	+ writes out the retrieved data DBT.
f: set the flags for the next command
	+ no value zero's the flags
D [file]: data file
	+ set the current data value to the contents of the file
d [data]:
	+ set the current key value to the contents of the line.
K [file]: key file
	+ set the current key value to the contents of the file
k [data]:
	+ set the current key value to the contents of the line.
o [r]: dump [reverse]
	+ dump the database out, if 'r' is set, in reverse order.

Options to dbtest are as follows:

	-f: Use the file argument as the database file.
	-i: Use the rest of the argument to set elements in the info
	    structure.  If the type is btree, then "-i cachesize=10240"
	    will set BTREEINFO.cachesize to 10240.
	-o: The rest of the argument is the output file instead of
	    using stdout.

Dbtest requires two arguments, the type of access "hash", "recno" or
"btree", and the script name.
@


1.1.1.1
log
@BSD 4.4 Lite Lib Sources
@
text
@@


1.1.1.1.6.1
log
@Phase 2 of merge - also fix things broken in phase 1.
Watch out for falling rock until phase 3 is over!

libc completely merged except for phkmalloc & rfork (don't know if David
wants that).

Some include files in sys/ had to be updated in order to bring in libc.
@
text
@d1 1
a1 1
#	@@(#)README	8.8 (Berkeley) 7/31/94
d5 1
a5 1
    make PORTDIR="../PORT/MACH"
a11 5
Fairly large files (the command files) are built in this directory during
the test runs, and even larger files (the database files) are created in
"/var/tmp".  If the latter directory doesn't exist, set the environmental
variable TMPDIR to a directory where the files can be built.

d13 2
a14 5
The script file consists of lines with an initial character which is
the command for that line, or an initial character indicating a key
or data entry for a previous command.

Legal command characters are as follows:
a22 2
f: set the flags for the next command
	+ no value zero's the flags
a25 2
o [r]: dump [reverse]
	+ dump the database out, if 'r' is set, in reverse order.
d29 1
a29 2
	+ must be followed by [kK] unless R_CURSOR flag set.
S: sync the database
a30 1
	+ must be followed by [kK] if R_CURSOR flag set.
d32 2
a33 3

Legal key/data characters are as follows:

d42 2
a43 3

Blank lines, lines with leading white space, and lines with leading
hash marks (#) are ignored.
a46 1
	-d: Set the DB_LOCK flag.
a52 2
	-s: Don't delete the database file before opening it, i.e.
	    use the database file from a previous run.
d54 2
a55 2
Dbtest requires two arguments, the type of access "hash", "recno"
or "btree", and the script name or "-" to indicate stdin.
@


1.1.1.1.6.2
log
@This 3rd mega-commit should hopefully bring us back to where we were.
I can get it to `make world' succesfully, anyway!
@
text
@d1 1
a1 1
#	@@(#)README	8.2 (Berkeley) 2/21/94
d5 1
a5 1
    make INC="-I../PORT/MACH/ -I../PORT/MACH/include" LIB=../PORT/MACH/libdb.a
d12 5
d18 5
a22 2
The script file consists of lines with a initial character which is
the "command" for that line.  Legal characters are as follows:
d31 2
d36 2
d41 2
a42 1
	+ must be followed by [kK]
d44 1
d46 3
a48 2
f: set the flags for the next command
	+ no value zero's the flags
d57 3
a59 2
o [r]: dump [reverse]
	+ dump the database out, if 'r' is set, in reverse order.
d63 1
d70 2
d73 2
a74 2
Dbtest requires two arguments, the type of access "hash", "recno" or
"btree", and the script name.
@


1.1.1.2
log
@Import updated Berkeley DB into CSRG branch
@
text
@d1 1
a1 1
#	@@(#)README	8.8 (Berkeley) 7/31/94
d5 1
a5 1
    make PORTDIR="../PORT/MACH"
a11 5
Fairly large files (the command files) are built in this directory during
the test runs, and even larger files (the database files) are created in
"/var/tmp".  If the latter directory doesn't exist, set the environmental
variable TMPDIR to a directory where the files can be built.

d13 2
a14 5
The script file consists of lines with an initial character which is
the command for that line, or an initial character indicating a key
or data entry for a previous command.

Legal command characters are as follows:
a22 2
f: set the flags for the next command
	+ no value zero's the flags
a25 2
o [r]: dump [reverse]
	+ dump the database out, if 'r' is set, in reverse order.
d29 1
a29 2
	+ must be followed by [kK] unless R_CURSOR flag set.
S: sync the database
a30 1
	+ must be followed by [kK] if R_CURSOR flag set.
d32 2
a33 3

Legal key/data characters are as follows:

d42 2
a43 3

Blank lines, lines with leading white space, and lines with leading
hash marks (#) are ignored.
a46 1
	-d: Set the DB_LOCK flag.
a52 2
	-s: Don't delete the database file before opening it, i.e.
	    use the database file from a previous run.
d54 2
a55 2
Dbtest requires two arguments, the type of access "hash", "recno"
or "btree", and the script name or "-" to indicate stdin.
@


1.1.1.2.82.1
log
@file README was added on branch RELENG_8_4 on 2013-03-28 13:02:58 +0000
@
text
@d1 74
@


1.1.1.2.82.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 74
#	@@(#)README	8.8 (Berkeley) 7/31/94

To build this portably, try something like:

    make PORTDIR="../PORT/MACH"

where MACH is the machine, i.e. "sunos.4.1.1".

To run the tests, enter "sh run.test".  If your system dictionary isn't
in /usr/share/dict/words, edit run.test to reflect the correct place.

Fairly large files (the command files) are built in this directory during
the test runs, and even larger files (the database files) are created in
"/var/tmp".  If the latter directory doesn't exist, set the environmental
variable TMPDIR to a directory where the files can be built.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The script file consists of lines with an initial character which is
the command for that line, or an initial character indicating a key
or data entry for a previous command.

Legal command characters are as follows:

c: compare a record
	+ must be followed by [kK][dD]; the data value in the database
	  associated with the specified key is compared to the specified
	  data value.
e: echo a string
	+ writes out the rest of the line into the output file; if the
	  last character is not a carriage-return, a newline is appended.
f: set the flags for the next command
	+ no value zero's the flags
g: do a get command
	+ must be followed by [kK]
	+ writes out the retrieved data DBT.
o [r]: dump [reverse]
	+ dump the database out, if 'r' is set, in reverse order.
p: do a put command
	+ must be followed by [kK][dD]
r: do a del command
	+ must be followed by [kK] unless R_CURSOR flag set.
S: sync the database
s: do a seq command
	+ must be followed by [kK] if R_CURSOR flag set.
	+ writes out the retrieved data DBT.

Legal key/data characters are as follows:

D [file]: data file
	+ set the current data value to the contents of the file
d [data]:
	+ set the current key value to the contents of the line.
K [file]: key file
	+ set the current key value to the contents of the file
k [data]:
	+ set the current key value to the contents of the line.

Blank lines, lines with leading white space, and lines with leading
hash marks (#) are ignored.

Options to dbtest are as follows:

	-d: Set the DB_LOCK flag.
	-f: Use the file argument as the database file.
	-i: Use the rest of the argument to set elements in the info
	    structure.  If the type is btree, then "-i cachesize=10240"
	    will set BTREEINFO.cachesize to 10240.
	-o: The rest of the argument is the output file instead of
	    using stdout.
	-s: Don't delete the database file before opening it, i.e.
	    use the database file from a previous run.

Dbtest requires two arguments, the type of access "hash", "recno"
or "btree", and the script name or "-" to indicate stdin.
@


