1KCUTILMGR(1) Kyoto Cabinet KCUTILMGR(1)
2
3
4
6 kcutilmgr - command line interface of miscellaneous utilities
7
8
10 The command `kcutilmgr' is a tool of miscellaneous utilities, and to
11 show the configuration. This command is used in the following format.
12 `file' specifies a input file. If it is omitted, the standard input is
13 read. If it begins with "@", the trailing substring is treated as the
14 input. `pattern' specifies an matching pattern.
15
16 kcutilmgr hex [-d] [file]
17 Performs hexadecimal encoding and its decoding.
18 kcutilmgr enc [-hex|-url|-quote] [-d] [file]
19 Performs Base64 encoding and its decoding.
20 kcutilmgr ciph [-key str] [file]
21 Performs Arcfour cipher and its decipher.
22 kcutilmgr comp [-def|-gz|-lzo|-lzma] [-d] [file]
23 Performs ZLIB encoding and its decoding. By default, use
24 the raw format.
25 kcutilmgr hash [-fnv|-path|-crc] [file]
26 Calculates the hash value. By default, use MurMur hash‐
27 ing.
28 kcutilmgr regex [-alt str] [-ic] pattern [file]
29 Prints lines matching a regular expression.
30 kcutilmgr conf [-v|-i|-l|-p]
31 Shows the configuration of Kyoto Cabinet.
32 kcutilmgr version
33 Shows the version information of Kyoto Cabinet.
34
35 Options feature the following.
36
37 -d : perform decoding (unescaping), not encoding (escaping).
38 -hex : use hexadecimal encoding.
39 -url : use URL encoding.
40 -quote : use Quoted-printable encoding.
41 -key str : set the cipher key.
42 -def : use the deflate format.
43 -gz : use the gzip format.
44 -lzo : use LZO encoding.
45 -lzma : use LZMA encoding.
46 -fnv : use FNV hashing.
47 -path : use the path hashing of the directory database.
48 -crc : calculate the CRC32 checksum.
49 -alt str : replaces matching substring with the alternative
50 string.
51 -ic : ignores difference between upper and lower cases.
52 -v : show the version number of Kyoto Cabinet.
53 -i : show options to include the headers of Tokyo Cabinet.
54 -l : show options to link the library of Tokyo Cabinet.
55 -p : show the directory path of the commands.
56
57 This command returns 0 on success, another on failure.
58
59
61 kcutiltest(1)
62
63
64
65Man Page 2012-05-24 KCUTILMGR(1)