1*56037Sbostic# @(#)README 5.1 (Berkeley) 08/26/92 2*56037Sbostic 3*56037SbosticThe script file consists of lines with a initial character which is 4*56037Sbosticthe "command" for that line. Legal characters are as follows: 5*56037Sbostic 6*56037Sbosticg: do a get command 7*56037Sbostic + must be followed by [kK] 8*56037Sbostic + writes out the retrieved data DBT. 9*56037Sbosticp: do a put command 10*56037Sbostic + must be followed by [kK][dD] 11*56037Sbosticr: do a del command 12*56037Sbostic + must be followed by [kK] 13*56037Sbostics: do a seq command 14*56037Sbostic + writes out the retrieved key and data DBT's 15*56037Sbosticf: set the flags for the next command 16*56037Sbostic + no value zero's the flags 17*56037SbosticD [file]: data file 18*56037Sbostic + set the current data value to the contents of the file 19*56037Sbosticd [data]: 20*56037Sbostic + set the current key value to the contents of the line. 21*56037SbosticK [file]: key file 22*56037Sbostic + set the current key value to the contents of the file 23*56037Sbostick [data]: 24*56037Sbostic + set the current key value to the contents of the line. 25*56037Sbostic 26*56037SbosticOptions to dbtest are as follows: 27*56037Sbostic 28*56037Sbostic -i: Use the rest of the argument to set elements in the info 29*56037Sbostic structure. If the type is btree, then "-i cachesize=10240" 30*56037Sbostic will set BTREEINFO.cachesize to 10240. 31*56037Sbostic -o: The rest of the argument is the output file instead of 32*56037Sbostic using stdout. 33*56037Sbostic -t: Set the type of access, either "btree", "hash" or "recno". 34