KCUTILMGR(1)

πŸ’… kcutilmgr(1) πŸ’…

okay bestie, welcome to the Kyoto Cabinet manual, page kcutilmgr, and no cap this one is a lil grab-bag of tools that does a whole bunch of random useful stuff. let's get into it 🫢


✨ NAME ✨

kcutilmgr β€” command line interface of miscellaneous utilities


🌸 DESCRIPTION 🌸

so the kcutilmgr command is literally a tool of miscellaneous utilities, and it's also how you show the configuration. main character energy fr fr. this command gets used in the following format, okay?

file specifies a input file. if it's omitted, the standard input is read instead (she'll just read from stdin, no biggie). and if it begins with "@", then the trailing substring is treated as the input. pattern specifies an matching pattern. πŸ’–

πŸŽ€ THE COMMANDS πŸŽ€

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.

so real quick, in human words πŸ‘‡

  • kcutilmgr hex [-d] [file] β€” does hexadecimal encoding and its decoding. hex girlies rise πŸ’œ
  • kcutilmgr enc [-hex|-url|-quote] [-d] [file] β€” performs Base64 encoding and its decoding.
  • kcutilmgr ciph [-key str] [file] β€” performs Arcfour cipher and its decipher. secretive queen πŸ”
  • kcutilmgr comp [-def|-gz|-lzo|-lzma] [-d] [file] β€” performs ZLIB encoding and its decoding. by default, it uses the raw format. periodt.
  • kcutilmgr hash [-fnv|-path|-crc] [file] β€” calculates the hash value. by default, it uses MurMur hashing. iconic.
  • 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. the vibe check for your setup ✨
  • kcutilmgr version β€” shows the version information of Kyoto Cabinet.

πŸ’… THE OPTIONS πŸ’…

okay so the options feature the following, and every single one of them is here, no skips, no crumbs left behind πŸ“

  • -d β€” perform decoding (unescaping), not encoding (escaping).
  • -hex β€” use hexadecimal encoding.
  • -url β€” use URL encoding.
  • -quote β€” use Quoted-printable encoding.
  • -key str β€” set the cipher key.
  • -def β€” use the deflate format.
  • -gz β€” use the gzip format.
  • -lzo β€” use LZO encoding.
  • -lzma β€” use LZMA encoding.
  • -fnv β€” use FNV hashing.
  • -path β€” use the path hashing of the directory database.
  • -crc β€” calculate the CRC32 checksum.
  • -alt str β€” replaces matching substring with the alternative string.
  • -ic β€” ignores difference between upper and lower cases.
  • -v β€” show the version number of Kyoto Cabinet.
  • -i β€” show options to include the headers of Tokyo Cabinet.
  • -l β€” show options to link the library of Tokyo Cabinet.
  • -p β€” show the directory path of the commands.
bestie, this command returns 0 on success, another on failure. so like, check your exit status, okay? don't be out here ignoring it 😭

🌈 SEE ALSO 🌈


and that's the whole page, we ate and left no crumbs πŸ‘‘ kcutiltest(1) is your next stop if you're nosy (affectionate). this one's from the Kyoto Cabinet manual, dated 2012-05-24, and yeah she's been serving since then πŸ’– slay, bye bestie! πŸ¦‹βœ¨