diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2018-06-27 21:42:41 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2018-06-27 21:42:41 +0300 |
commit | d6fe3b45bc669a6bc3f21e4bda69c6a052d78482 (patch) | |
tree | adee5b085e7108a22b81c00c914a6faf5754f9f6 /doc | |
parent | 7598f08063b2d937233fcca98eb046bb4cfa5a70 (diff) | |
download | gdbm-d6fe3b45bc669a6bc3f21e4bda69c6a052d78482.tar.gz gdbm-d6fe3b45bc669a6bc3f21e4bda69c6a052d78482.tar.bz2 |
Version 1.16v1.16
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gdbmtool.1 | 55 |
1 files changed, 44 insertions, 11 deletions
diff --git a/doc/gdbmtool.1 b/doc/gdbmtool.1 index ca927ca..c5d5f9e 100644 --- a/doc/gdbmtool.1 +++ b/doc/gdbmtool.1 | |||
@@ -13,19 +13,32 @@ | |||
13 | .\" | 13 | .\" |
14 | .\" You should have received a copy of the GNU General Public License | 14 | .\" You should have received a copy of the GNU General Public License |
15 | .\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */ | 15 | .\" along with GDBM. If not, see <http://www.gnu.org/licenses/>. */ |
16 | .TH GDBMTOOL 1 "July 12, 2016" "GDBM" "GDBM User Reference" | 16 | .TH GDBMTOOL 1 "June 27, 2018" "GDBM" "GDBM User Reference" |
17 | .SH NAME | 17 | .SH NAME |
18 | gdbmtool \- examine and modify a GDBM database | 18 | gdbmtool \- examine and modify a GDBM database |
19 | .SH SYNOPSIS | 19 | .SH SYNOPSIS |
20 | \fBgdbmtool\fR [\fB\-lmNnqrs\fR] [\fB\-b\fR \fISIZE\fR] [\fB\-c\fR \fISIZE\fR]\ | 20 | \fBgdbmtool\fR\ |
21 | [\fB\-f\fR \fIFILE\fR] [\fB\-\-block\-size\fR=\fISIZE\fR] | 21 | [\fB\-lmNnqrs\fR]\ |
22 | [\fB\-\-cache\-size\fR=\fISIZE\fR] [\fB\-\-file\fR \fIFILE\fR]\ | 22 | [\fB\-b\fR \fISIZE\fR]\ |
23 | [\fB\-\-newdb\fR] [\fB\-\-no\-lock\fR] | 23 | [\fB\-c\fR \fISIZE\fR]\ |
24 | [\fB\-\-no\-mmap\fR] [\fB\-\-norc\fR] | 24 | [\fB\-f\fR \fIFILE\fR]\ |
25 | [\fB\-\-quiet\fR] [\fB\-\-read\-only\fR] [\fB\-\-synchronize\fR]\ | 25 | [\fB\-\-block\-size\fR=\fISIZE\fR]\ |
26 | [\fIDBFILE\fR] | 26 | [\fB\-\-cache\-size\fR=\fISIZE\fR]\ |
27 | [\fB\-\-file\fR \fIFILE\fR]\ | ||
28 | [\fB\-\-newdb\fR]\ | ||
29 | [\fB\-\-no\-lock\fR]\ | ||
30 | [\fB\-\-no\-mmap\fR]\ | ||
31 | [\fB\-\-norc\fR]\ | ||
32 | [\fB\-\-quiet\fR]\ | ||
33 | [\fB\-\-read\-only\fR]\ | ||
34 | [\fB\-\-synchronize\fR]\ | ||
35 | [\fIDBFILE\fR] [\fICOMMAND\fR [; \fICOMMAND\fR...]] | ||
27 | .sp | 36 | .sp |
28 | \fBgdbmtool\fR [\fB\-Vh\fR] ][\fB\-\-help\fR] [\fB\-\-usage\fR] [\fB\-\-version\fR] | 37 | \fBgdbmtool\fR\ |
38 | [\fB\-Vh\fR]\ | ||
39 | [\fB\-\-help\fR]\ | ||
40 | [\fB\-\-usage\fR]\ | ||
41 | [\fB\-\-version\fR] | ||
29 | .SH DESCRIPTION | 42 | .SH DESCRIPTION |
30 | The | 43 | The |
31 | .B gdbmtool | 44 | .B gdbmtool |
@@ -61,6 +74,14 @@ The program terminates when the | |||
61 | .B quit | 74 | .B quit |
62 | command is given, or end-of-file is detected on its standard input. | 75 | command is given, or end-of-file is detected on its standard input. |
63 | .PP | 76 | .PP |
77 | Commands can also be specified in the command line, after the \fIDBFILE\fR | ||
78 | argument. In this case, they will be interpreted without attempting to | ||
79 | read more commands from the standard input. | ||
80 | .PP | ||
81 | If several commands are supplied, they must be separated by | ||
82 | semicolons (properly escaped or quoted, in order to prevent them from | ||
83 | being interpreted by the shell). | ||
84 | .PP | ||
64 | A | 85 | A |
65 | .B gdbmtool | 86 | .B gdbmtool |
66 | command consists of a command verb, optionally | 87 | command consists of a command verb, optionally |
@@ -425,12 +446,24 @@ Open the database in read-only mode. Signal an error if it does not | |||
425 | exist. | 446 | exist. |
426 | .RE | 447 | .RE |
427 | .TP | 448 | .TP |
449 | .BR filemode ", octal" | ||
450 | Sets the file mode for newly created database files. Default is 0644. | ||
451 | .TP | ||
428 | .BR lock ", boolean" | 452 | .BR lock ", boolean" |
429 | Lock the database. This is the default. | 453 | Lock the database. This is the default. |
430 | .TP | 454 | .TP |
431 | .BR mmap ", boolean" | 455 | .BR mmap ", boolean" |
432 | Use memory mapping. This is the default. | 456 | Use memory mapping. This is the default. |
433 | 457 | .TP | |
458 | .BR coalesce ", boolean" | ||
459 | When set, this option causes adjacent free blocks to be merged which | ||
460 | allows for more efficient memory management at the expense of a | ||
461 | certain increase in CPU usage. | ||
462 | .TP | ||
463 | .BR centfree ", boolean" | ||
464 | Enables central free block pool. This causes all free blocks of space | ||
465 | to be placed in the global pool, thereby speeding up the allocation of | ||
466 | data space. | ||
434 | .SH "SEE ALSO" | 467 | .SH "SEE ALSO" |
435 | .BR gdbm_dump (1), | 468 | .BR gdbm_dump (1), |
436 | .BR gdbm_load (1), | 469 | .BR gdbm_load (1), |
@@ -438,7 +471,7 @@ Use memory mapping. This is the default. | |||
438 | .SH "REPORTING BUGS" | 471 | .SH "REPORTING BUGS" |
439 | Report bugs to <bug\-gdbm@gnu.org>. | 472 | Report bugs to <bug\-gdbm@gnu.org>. |
440 | .SH COPYRIGHT | 473 | .SH COPYRIGHT |
441 | Copyright \(co 2013 Free Software Foundation, Inc | 474 | Copyright \(co 2013-2018 Free Software Foundation, Inc |
442 | .br | 475 | .br |
443 | .na | 476 | .na |
444 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | 477 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> |