kcutilmgr - command line interface of miscellaneous utilities



kcutilmgr − command line interface of miscellaneous utilities


The command ‘kcutilmgr’ is a tool of miscellaneous utilities, and to show the configuration. This command is used in the following format. ‘file’ specifies a input file. If it is omitted, the standard input is read. If it begins with "@", the trailing substring is treated as the input. ‘pattern’ specifies an matching pattern.

kcutilmgr hex [−d] [file]

Performs hexadecimal encoding and its decoding.

kcutilmgr enc [−hex|−url|−quote] [−d] [file]

Performs Base64 encoding and its decoding.

kcutilmgr ciph [−key str] [file]

Performs Arcfour cipher and its decipher.

kcutilmgr comp [−def|−gz|−lzo|−lzma] [−d] [file]

Performs ZLIB encoding and its decoding. By default, use the raw format.

kcutilmgr hash [−fnv|−path|−crc] [file]

Calculates the hash value. By default, use MurMur hashing.

kcutilmgr regex [−alt str] [−ic] pattern [file]

Prints lines matching a regular expression.

kcutilmgr conf [−v|−i|−l|−p]

Shows the configuration of Kyoto Cabinet.

kcutilmgr version

Shows the version information of Kyoto Cabinet.

Options feature the following.

−d : perform decoding (unescaping), not encoding (escaping).
: use hexadecimal encoding.
: use URL encoding.
: use Quoted−printable encoding.
str : set the cipher key.
: use the deflate format.
: use the gzip format.
: use LZO encoding.
: use LZMA encoding.
: use FNV hashing.
: use the path hashing of the directory database.
: calculate the CRC32 checksum.
str : replaces matching substring with the alternative string.
: ignores difference between upper and lower cases.
: show the version number of Kyoto Cabinet.
: show options to include the headers of Tokyo Cabinet.
: show options to link the library of Tokyo Cabinet.
: show the directory path of the commands.

This command returns 0 on success, another on failure.



Updated 2024-01-29 - jenkler.se | uex.se